diff options
| author | Mark Aaron Shirley | 2012-12-19 15:21:06 -0800 |
|---|---|---|
| committer | Mark Aaron Shirley | 2012-12-19 15:21:06 -0800 |
| commit | ef475eb9bd7754c7248642b4a41093e2d6493b03 (patch) | |
| tree | bc0faeb5cd04f02cf2cfa8db84fade4452549c0c /rest_framework/tests/request.py | |
| parent | ae6ca7456feda199124eb78f7872f969fa67d7b8 (diff) | |
| parent | c27295dcbdf89b3cbc10d6325833e428c66c0f2a (diff) | |
| download | django-rest-framework-ef475eb9bd7754c7248642b4a41093e2d6493b03.tar.bz2 | |
Merge remote-tracking branch 'upstream/master' into writable-serializers
Diffstat (limited to 'rest_framework/tests/request.py')
| -rw-r--r-- | rest_framework/tests/request.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rest_framework/tests/request.py b/rest_framework/tests/request.py index 2850992d..2eb34cea 100644 --- a/rest_framework/tests/request.py +++ b/rest_framework/tests/request.py @@ -1,16 +1,15 @@ """ Tests for content parsing, and form-overloaded content parsing. """ -from django.conf.urls.defaults import patterns from django.contrib.auth.models import User from django.contrib.auth import authenticate, login, logout from django.contrib.sessions.middleware import SessionMiddleware from django.test import TestCase, Client +from django.test.client import RequestFactory from django.utils import simplejson as json - from rest_framework import status from rest_framework.authentication import SessionAuthentication -from django.test.client import RequestFactory +from rest_framework.compat import patterns from rest_framework.parsers import ( BaseParser, FormParser, |
