From 19ec7bee96fcf5c1e3a46cb1a18b286af4381d1c Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Sat, 14 Feb 2015 11:02:58 +1100 Subject: [PATCH] Extend attachment filefield max length in upload form. Fixes #301. --- helpdesk/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helpdesk/forms.py b/helpdesk/forms.py index 45f9ef75..23f08424 100644 --- a/helpdesk/forms.py +++ b/helpdesk/forms.py @@ -369,6 +369,7 @@ class PublicTicketForm(CustomFieldMixin, forms.Form): required=False, label=_('Attach File'), help_text=_('You can attach a file such as a document or screenshot to this ticket.'), + max_length=1000, ) def __init__(self, *args, **kwargs):