From 4499dc81e2fb4d61fca7a988ee6198caf71ca173 Mon Sep 17 00:00:00 2001
From: Tim Graham <timograham@gmail.com>
Date: Tue, 22 Oct 2013 12:05:26 -0400
Subject: [PATCH] [1.6.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 c8d23d6fc2..a634d8ad71 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.