Extend attachment filefield max length in upload form. Fixes #301.

This commit is contained in:
Ross Poulton 2015-02-14 11:02:58 +11:00
parent ba59f38a03
commit 19ec7bee96

View File

@ -369,6 +369,7 @@ class PublicTicketForm(CustomFieldMixin, forms.Form):
required=False, required=False,
label=_('Attach File'), label=_('Attach File'),
help_text=_('You can attach a file such as a document or screenshot to this ticket.'), help_text=_('You can attach a file such as a document or screenshot to this ticket.'),
max_length=1000,
) )
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):