diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index c1947f61e1..a50e24c0df 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -277,7 +277,10 @@ Manager functions The :class:`~django.contrib.auth.models.User` model has a custom manager that has the following helper functions: - .. method:: models.UserManager.create_user(username, email, password=None) + .. method:: models.UserManager.create_user(username, email=None, password=None) + + .. versionchanged:: 1.4 + The ``email`` parameter was made optional. Creates, saves and returns a :class:`~django.contrib.auth.models.User`. |
