aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ordoquy2015-03-11 12:29:54 +0100
committerXavier Ordoquy2015-03-11 12:29:54 +0100
commit42ee8e147c9cafe57fb87c264268cba887cbe198 (patch)
tree2cfc3d70cdc470ae49379200d73e166e6bcd092f
parentdc56e5a0f41fdd6350e91a5749023d086bd1640f (diff)
parent7854c939dd077b54c8bcecb649581e2a9fd6399f (diff)
downloaddjango-rest-framework-42ee8e147c9cafe57fb87c264268cba887cbe198.tar.bz2
Merge pull request #2668 from Maplecroft/doc_fixes
Fix for minor documentation typo
-rw-r--r--docs/api-guide/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md
index 8a848c20..dd3295c4 100644
--- a/docs/api-guide/testing.md
+++ b/docs/api-guide/testing.md
@@ -65,7 +65,7 @@ When testing views directly using a request factory, it's often convenient to be
To forcibly authenticate a request, use the `force_authenticate()` method.
- from rest_framework.tests import force_authenticate
+ from rest_framework.test import force_authenticate
factory = APIRequestFactory()
user = User.objects.get(username='olivia')