Skip to content

Commit 42ee8e1

Browse files
committed
Merge pull request #2668 from Maplecroft/doc_fixes
Fix for minor documentation typo
2 parents dc56e5a + 7854c93 commit 42ee8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ When testing views directly using a request factory, it's often convenient to be
6565

6666
To forcibly authenticate a request, use the `force_authenticate()` method.
6767

68-
from rest_framework.tests import force_authenticate
68+
from rest_framework.test import force_authenticate
6969

7070
factory = APIRequestFactory()
7171
user = User.objects.get(username='olivia')

0 commit comments

Comments
 (0)