Fix import order

This commit is contained in:
Benbb96 2022-08-15 20:21:19 +02:00
parent bc3d89b555
commit 238dd8d3d5

View File

@ -6,8 +6,6 @@ django-helpdesk - A Django powered ticket tracker for small enterprise.
views/staff.py - The bulk of the application - provides most business logic and
renders all staff-facing views.
"""
from django.contrib.auth.views import redirect_to_login
from ..lib import format_time_spent
from ..templated_email import send_templated_mail
from collections import defaultdict
@ -16,6 +14,7 @@ from datetime import date, datetime, timedelta
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.decorators import user_passes_test
from django.contrib.auth.views import redirect_to_login
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import PermissionDenied, ValidationError
from django.core.handlers.wsgi import WSGIRequest