diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-22 10:06:26 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-22 10:06:26 +0200 |
commit | a14e3d7d1d46c389cef85addd3f925c520924159 (patch) | |
tree | d1c8e7996d849f66cec11e2ab928179ed2718895 /archaeological_context_records/forms.py | |
parent | 53888c24ca9dc156e5ffa0dc66e1bf36a00085a0 (diff) | |
download | Ishtar-a14e3d7d1d46c389cef85addd3f925c520924159.tar.bz2 Ishtar-a14e3d7d1d46c389cef85addd3f925c520924159.zip |
Image filename are now up to 255 characters. Length test is done on forms. (refs #3325)
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 4a5267654..5bfecd8ef 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -154,7 +154,7 @@ class RecordFormGeneral(ManageOldType, forms.Form): u"(ratio is preserved).</p>") % { 'width': settings.IMAGE_MAX_SIZE[0], 'height': settings.IMAGE_MAX_SIZE[1]}), - required=False, widget=widgets.ImageFileInput()) + max_length=255, required=False, widget=widgets.ImageFileInput()) def __init__(self, *args, **kwargs): operation = None |