From d37ea559174bd03455f376734418d2014897aca7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 22 Oct 2016 10:06:26 +0200 Subject: Image filename are now up to 255 characters. Length test is done on forms. (refs #3325) --- archaeological_context_records/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_context_records/forms.py') 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).

") % { '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 -- cgit v1.2.3