aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/authentication.py
diff options
context:
space:
mode:
authorMichal Dvorak (cen38289)2012-12-21 10:53:23 +0100
committerMichal Dvorak (cen38289)2012-12-21 10:53:23 +0100
commit5ba2437f2dcb4eb7f9677ff9e393c27af38b071f (patch)
treedf19512bc58ae3180813c9d479267b7a617e9b8e /rest_framework/tests/authentication.py
parent8ac77eaae8d6ad01ec8f6de18134c4aa1961d4dd (diff)
parent79aea2f0d082f17e7bb75cc32bd71b5f04836d43 (diff)
downloaddjango-rest-framework-5ba2437f2dcb4eb7f9677ff9e393c27af38b071f.tar.bz2
Merge remote-tracking branch 'tom/master'
Conflicts: rest_framework/tests/serializer.py
Diffstat (limited to 'rest_framework/tests/authentication.py')
-rw-r--r--rest_framework/tests/authentication.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/rest_framework/tests/authentication.py b/rest_framework/tests/authentication.py
index d498ae3e..838e081b 100644
--- a/rest_framework/tests/authentication.py
+++ b/rest_framework/tests/authentication.py
@@ -1,15 +1,13 @@
-from django.conf.urls.defaults import patterns
from django.contrib.auth.models import User
+from django.http import HttpResponse
from django.test import Client, TestCase
-
from django.utils import simplejson as json
-from django.http import HttpResponse
-from rest_framework.views import APIView
from rest_framework import permissions
-
from rest_framework.authtoken.models import Token
from rest_framework.authentication import TokenAuthentication
+from rest_framework.compat import patterns
+from rest_framework.views import APIView
import base64