aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/authentication.py
diff options
context:
space:
mode:
authorTom Christie2013-02-04 20:55:35 +0000
committerTom Christie2013-02-04 20:55:35 +0000
commitb052c92ac38f90e5b56cfd128cd4a488713c048e (patch)
treee7dc554b870a989644152728aaddb901b8cf92f0 /rest_framework/authentication.py
parentb82227e517bb7baced840b29d04a545a7b7557ae (diff)
downloaddjango-rest-framework-b052c92ac38f90e5b56cfd128cd4a488713c048e.tar.bz2
Cleanup imports
Mostly adding `from __future__ import unicode_literals` everywhere.
Diffstat (limited to 'rest_framework/authentication.py')
-rw-r--r--rest_framework/authentication.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/rest_framework/authentication.py b/rest_framework/authentication.py
index c15568db..14b2136b 100644
--- a/rest_framework/authentication.py
+++ b/rest_framework/authentication.py
@@ -2,14 +2,11 @@
Provides a set of pluggable authentication policies.
"""
from __future__ import unicode_literals
-
from django.contrib.auth import authenticate
from django.utils.encoding import DjangoUnicodeDecodeError
from rest_framework import exceptions, HTTP_HEADER_ENCODING
from rest_framework.compat import CsrfViewMiddleware
-from rest_framework.compat import smart_text
from rest_framework.authtoken.models import Token
-from rest_framework.settings import api_settings
import base64