diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-08-29 12:07:11 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-08-29 12:49:16 +0200 |
| commit | fa7ffc6cb3b143fb8566cbf6a387d0f032377dc7 (patch) | |
| tree | 2dd986b1eb018293e46cf1a785a8f6c40b78ebd7 | |
| parent | b5a5c92c72cc179b5a9a888039cdd2f0680bff36 (diff) | |
Removed unneeded * markers from parameter names.
| -rw-r--r-- | docs/topics/auth/customizing.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 53dc14ebd8..d2a4746e03 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -735,7 +735,7 @@ providing two additional methods: .. class:: models.CustomUserManager - .. method:: models.CustomUserManager.create_user(*username_field*, password=None, **other_fields) + .. method:: models.CustomUserManager.create_user(username_field, password=None, **other_fields) The prototype of ``create_user()`` should accept the username field, plus all required fields as arguments. For example, if your user model @@ -746,7 +746,7 @@ providing two additional methods: # create user here ... - .. method:: models.CustomUserManager.create_superuser(*username_field*, password=None, **other_fields) + .. method:: models.CustomUserManager.create_superuser(username_field, password=None, **other_fields) The prototype of ``create_superuser()`` should accept the username field, plus all required fields as arguments. For example, if your user |
