Browse Source

cleaned imports

Rafał Pitoń 10 years ago
parent
commit
3b7f6b7621
1 changed files with 1 additions and 4 deletions
  1. 1 4
      misago/users/api/auth.py

+ 1 - 4
misago/users/api/auth.py

@@ -1,6 +1,4 @@
-from django.conf import settings
 from django.contrib import auth
-from django.utils.translation import ugettext as _
 from django.views.decorators.cache import never_cache
 from django.views.decorators.csrf import csrf_protect
 from django.views.decorators.debug import sensitive_post_parameters
@@ -9,8 +7,7 @@ from rest_framework import status
 from rest_framework.decorators import api_view
 from rest_framework.response import Response
 
-from misago.users.decorators import (deny_authenticated, deny_guests,
-                                     deny_banned_ips)
+from misago.users.decorators import deny_authenticated, deny_banned_ips
 from misago.users.forms.auth import AuthenticationForm
 from misago.users.serializers import AuthenticatedUserSerializer