|
@@ -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
|
|
|
|