diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-22 12:05:26 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-22 12:06:20 -0400 |
| commit | 26d1496f9003cabc2aef17fd28e684b1767b0587 (patch) | |
| tree | 10d36f89938d4179625f22c1200bd9a4f82ce34f | |
| parent | ed67184b3051c392a6cb722e889c062233730c2e (diff) | |
[1.5.x] Fixed #21304 -- Typo in docs/topics/testing/advanced.txt
Thanks joao at silvaneves.org for the report.
Backport of 9704c49d59 from master
| -rw-r--r-- | docs/topics/testing/advanced.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index c07b718a4d..a43cfbbe9b 100644 --- a/docs/topics/testing/advanced.txt +++ b/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. |
