Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.6.x] Fixed #21304 -- Typo in docs/topics/testing/advanced.txt

Thanks joao at silvaneves.org for the report.

Backport of 9704c49 from master
  • Loading branch information...
commit 4499dc81e2fb4d61fca7a988ee6198caf71ca173 1 parent b987fb1
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/testing/advanced.txt
View
2  docs/topics/testing/advanced.txt
@@ -46,7 +46,7 @@ The following is a simple unit test using the request factory::
# Every test needs access to the request factory.
self.factory = RequestFactory()
self.user = User.objects.create_user(
- first_name='jacob', email='jacob@…', password='top_secret')
+ username='jacob', email='jacob@…', password='top_secret')
def test_details(self):
# Create an instance of a GET request.
Please sign in to comment.
Something went wrong with that request. Please try again.