diff options
| author | Mark Aaron Shirley | 2012-12-19 15:24:22 -0800 |
|---|---|---|
| committer | Mark Aaron Shirley | 2012-12-19 15:24:22 -0800 |
| commit | 2f5582a1a6d8a79bfab7ffbc2d8b602fdae8e640 (patch) | |
| tree | 12e82ef942a21d456b33f6aacf90784a81feddc1 /rest_framework/tests/authentication.py | |
| parent | 5c680c36e435ffa29ba6ed5f439d22ea4e849c67 (diff) | |
| parent | c27295dcbdf89b3cbc10d6325833e428c66c0f2a (diff) | |
| download | django-rest-framework-2f5582a1a6d8a79bfab7ffbc2d8b602fdae8e640.tar.bz2 | |
Merge remote-tracking branch 'upstream/master' into related-required
Diffstat (limited to 'rest_framework/tests/authentication.py')
| -rw-r--r-- | rest_framework/tests/authentication.py | 8 |
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 |
