diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-05-26 23:27:27 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2014-05-26 23:27:27 +0200 |
commit | 2298cf58af47d7b8a5bee38555422a7d181537f8 (patch) | |
tree | 357189f99036e2c6cd5fd2cdcae156cd64dece3f /archaeological_files/forms.py | |
parent | f9043746cbdb4bff525e8e894ed94c3b8a436e06 (diff) | |
download | Ishtar-2298cf58af47d7b8a5bee38555422a7d181537f8.tar.bz2 Ishtar-2298cf58af47d7b8a5bee38555422a7d181537f8.zip |
Add max lenght to archaeological file names
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r-- | archaeological_files/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index f155f4261..50d67027c 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -138,7 +138,7 @@ class FileFormGeneral(forms.Form): widget=forms.HiddenInput, required=False) internal_reference = forms.CharField(label=_(u"Other reference"), max_length=60, required=False) - name = forms.CharField(label=_(u"Name"), required=False) + name = forms.CharField(label=_(u"Name"), required=False, max_length=100) creation_date = forms.DateField(label=_(u"Creation date"), initial=get_now, widget=widgets.JQueryDate) file_type = forms.ChoiceField(label=_("File type"), choices=[]) |