mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 16:15:12 +02:00
Initial isort configuration
Will fail build if imports are not sorted correctly
This commit is contained in:
@ -1,13 +1,24 @@
|
||||
|
||||
from django.contrib import admin
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from helpdesk.models import Queue, Ticket, FollowUp, PreSetReply
|
||||
from helpdesk.models import EscalationExclusion, EmailTemplate
|
||||
from helpdesk.models import TicketChange, KBIAttachment, FollowUpAttachment, IgnoreEmail
|
||||
from helpdesk.models import CustomField
|
||||
from helpdesk import settings as helpdesk_settings
|
||||
from helpdesk.models import (
|
||||
CustomField,
|
||||
EmailTemplate,
|
||||
EscalationExclusion,
|
||||
FollowUp,
|
||||
FollowUpAttachment,
|
||||
IgnoreEmail,
|
||||
KBIAttachment,
|
||||
PreSetReply,
|
||||
Queue,
|
||||
Ticket,
|
||||
TicketChange
|
||||
)
|
||||
|
||||
|
||||
if helpdesk_settings.HELPDESK_KB_ENABLED:
|
||||
from helpdesk.models import KBCategory
|
||||
from helpdesk.models import KBItem
|
||||
from helpdesk.models import KBCategory, KBItem
|
||||
|
||||
|
||||
@admin.register(Queue)
|
||||
|
Reference in New Issue
Block a user