From 9704c49d5951aadbfc03624e399d881ebf7a3eb5 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 22 Oct 2013 12:05:26 -0400 Subject: [PATCH] Fixed #21304 -- Typo in docs/topics/testing/advanced.txt Thanks joao at silvaneves.org for the report. --- 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 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.