summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-22 12:05:26 -0400
committerTim Graham <timograham@gmail.com>2013-10-22 12:05:26 -0400
commit9704c49d5951aadbfc03624e399d881ebf7a3eb5 (patch)
treec7771d64ed90bd68020531a894f5df8c4264cbac /docs
parent5240b83462ba4887b67da8d493dfdc23fec5df97 (diff)
Fixed #21304 -- Typo in docs/topics/testing/advanced.txt
Thanks joao at silvaneves.org for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing/advanced.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index d02912dd31..90111d05ff 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -45,7 +45,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.