aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/utils.py
diff options
context:
space:
mode:
authorAndrew Hankinson2012-12-30 13:57:43 -0400
committerAndrew Hankinson2012-12-30 13:58:08 -0400
commitdf1880185c87733a82a41392898e67fe02c769aa (patch)
tree1ccf4496cbe43d5727e0ac181b302dca6d28485c /rest_framework/tests/utils.py
parentb9e48e84138baeab3849cd80408569ed3d0308fc (diff)
downloaddjango-rest-framework-df1880185c87733a82a41392898e67fe02c769aa.tar.bz2
Renaming DRFRequestFactory to RequestFactory
Updated tests to reflect the new name.
Diffstat (limited to 'rest_framework/tests/utils.py')
-rw-r--r--rest_framework/tests/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/utils.py b/rest_framework/tests/utils.py
index d7f14156..3906adb9 100644
--- a/rest_framework/tests/utils.py
+++ b/rest_framework/tests/utils.py
@@ -3,10 +3,10 @@ from django.test.client import MULTIPART_CONTENT
from urlparse import urlparse
-class DRFRequestFactory(RequestFactory):
+class RequestFactory(RequestFactory):
def __init__(self, **defaults):
- super(DRFRequestFactory, self).__init__(**defaults)
+ super(RequestFactory, self).__init__(**defaults)
def patch(self, path, data={}, content_type=MULTIPART_CONTENT,
**extra):