From 26d1496f9003cabc2aef17fd28e684b1767b0587 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 22 Oct 2013 12:05:26 -0400 Subject: [PATCH] [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 --- docs/topics/testing/advanced.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index c07b718a4df..a43cfbbe9b3 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.