aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/request.py
diff options
context:
space:
mode:
authorTom Christie2012-09-03 14:28:40 +0100
committerTom Christie2012-09-03 14:28:40 +0100
commit7abef9ac3b3fb20a6cdef5d52c640e5725c93437 (patch)
tree2cd3270b7079f8b20eb3e3e90d8181c37c4199cb /djangorestframework/tests/request.py
parentd180e984e9779673c2d8aab3c65b4763432ba6b5 (diff)
downloaddjango-rest-framework-7abef9ac3b3fb20a6cdef5d52c640e5725c93437.tar.bz2
Parsers may return raw data, or a DataAndFiles object
Diffstat (limited to 'djangorestframework/tests/request.py')
-rw-r--r--djangorestframework/tests/request.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/djangorestframework/tests/request.py b/djangorestframework/tests/request.py
index 85b2f418..1d74ea32 100644
--- a/djangorestframework/tests/request.py
+++ b/djangorestframework/tests/request.py
@@ -4,7 +4,6 @@ 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.test import TestCase, Client
-from django.utils import simplejson as json
from djangorestframework import status
from djangorestframework.authentication import UserLoggedInAuthentication
@@ -13,7 +12,6 @@ from djangorestframework.parsers import (
FormParser,
MultiPartParser,
PlainTextParser,
- JSONParser
)
from djangorestframework.request import Request
from djangorestframework.response import Response