aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/request.py
diff options
context:
space:
mode:
authorMark Aaron Shirley2012-12-19 15:24:22 -0800
committerMark Aaron Shirley2012-12-19 15:24:22 -0800
commit2f5582a1a6d8a79bfab7ffbc2d8b602fdae8e640 (patch)
tree12e82ef942a21d456b33f6aacf90784a81feddc1 /rest_framework/tests/request.py
parent5c680c36e435ffa29ba6ed5f439d22ea4e849c67 (diff)
parentc27295dcbdf89b3cbc10d6325833e428c66c0f2a (diff)
downloaddjango-rest-framework-2f5582a1a6d8a79bfab7ffbc2d8b602fdae8e640.tar.bz2
Merge remote-tracking branch 'upstream/master' into related-required
Diffstat (limited to 'rest_framework/tests/request.py')
-rw-r--r--rest_framework/tests/request.py5
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,