diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 9a91033b..9a5c0c3e 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -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