aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/throttling.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/tests/throttling.py')
-rw-r--r--rest_framework/tests/throttling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/throttling.py b/rest_framework/tests/throttling.py
index 0058a28e..0b94c25b 100644
--- a/rest_framework/tests/throttling.py
+++ b/rest_framework/tests/throttling.py
@@ -6,7 +6,7 @@ from django.test import TestCase
from django.contrib.auth.models import User
from django.core.cache import cache
-from rest_framework.compat import RequestFactory
+from django.test.client import RequestFactory
from rest_framework.views import APIView
from rest_framework.throttling import UserRateThrottle
from rest_framework.response import Response