aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/request.py
diff options
context:
space:
mode:
authorTom Christie2012-09-27 13:06:04 +0100
committerTom Christie2012-09-27 13:06:04 +0100
commit91b3fb0b05778edeee48ea2a8cd8c784afa1a744 (patch)
tree8655bf0921d5a6e3428178404510b8716d96c12e /rest_framework/tests/request.py
parentec3c0c288b37bb8a8999590a5f338fd8c70dc876 (diff)
downloaddjango-rest-framework-91b3fb0b05778edeee48ea2a8cd8c784afa1a744.tar.bz2
Remove RequestFactory from compat (Now 1.2 is not supported)
Diffstat (limited to 'rest_framework/tests/request.py')
-rw-r--r--rest_framework/tests/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/request.py b/rest_framework/tests/request.py
index 402f9d1b..42274fcd 100644
--- a/rest_framework/tests/request.py
+++ b/rest_framework/tests/request.py
@@ -7,7 +7,7 @@ from django.test import TestCase, Client
from rest_framework import status
from rest_framework.authentication import SessionAuthentication
-from rest_framework.compat import RequestFactory
+from django.test.client import RequestFactory
from rest_framework.parsers import (
FormParser,
MultiPartParser,