Fixed #19400 - Typo in docs/topics/auth.txt

This commit is contained in:
Tim Graham 2012-11-30 15:10:52 -05:00
parent 0eeae15056
commit 008e625c66
1 changed files with 1 additions and 1 deletions

View File

@ -2009,7 +2009,7 @@ additional methods:
.. method:: models.CustomUserManager.create_superuser(*username_field*, password, **other_fields) .. method:: models.CustomUserManager.create_superuser(*username_field*, password, **other_fields)
The prototype of `create_user()` should accept the username field, The prototype of `create_superuser()` should accept the username field,
plus all required fields as arguments. For example, if your user model plus all required fields as arguments. For example, if your user model
uses `email` as the username field, and has `date_of_birth` as a required uses `email` as the username field, and has `date_of_birth` as a required
fields, then create_superuser should be defined as:: fields, then create_superuser should be defined as::