From a14e3d7d1d46c389cef85addd3f925c520924159 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) --- ishtar_common/forms_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/forms_common.py') diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 77e9c8972..c15999721 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -803,7 +803,7 @@ class SourceForm(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): super(SourceForm, self).__init__(*args, **kwargs) -- cgit v1.2.3