mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Removed unused imports, format long line
This commit is contained in:
parent
fb21d9bcdc
commit
e2a8b974dd
@ -7,7 +7,7 @@ forms.py - Definitions of newforms-based forms for creating and maintaining
|
|||||||
tickets.
|
tickets.
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
from datetime import datetime, date, time
|
from datetime import datetime
|
||||||
|
|
||||||
from django.core.exceptions import ObjectDoesNotExist, ValidationError
|
from django.core.exceptions import ObjectDoesNotExist, ValidationError
|
||||||
from django import forms
|
from django import forms
|
||||||
@ -226,7 +226,10 @@ class AbstractTicketForm(CustomFieldMixin, forms.Form):
|
|||||||
widget=forms.FileInput(attrs={'class': 'form-control-file'}),
|
widget=forms.FileInput(attrs={'class': 'form-control-file'}),
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Attach File'),
|
label=_('Attach File'),
|
||||||
help_text=_('You can attach a file to this ticket. Only file types such as plain text (.txt), a document (.pdf, .docx, or .odt), or screenshot (.png or .jpg) may be uploaded.'),
|
help_text=_('You can attach a file to this ticket. '
|
||||||
|
'Only file types such as plain text (.txt), '
|
||||||
|
'a document (.pdf, .docx, or .odt), '
|
||||||
|
'or screenshot (.png or .jpg) may be uploaded.'),
|
||||||
)
|
)
|
||||||
|
|
||||||
class Media:
|
class Media:
|
||||||
|
Loading…
Reference in New Issue
Block a user