summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/auth.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 7b0de1173f..56d7cea7b9 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -322,6 +322,9 @@ Manager methods
:meth:`~django.contrib.auth.models.User.set_unusable_password()` will
be called.
+ If no email is provided, :attr:`~django.contrib.auth.models.User.email`
+ will be set to an empty string.
+
The ``extra_fields`` keyword arguments are passed through to the
:class:`~django.contrib.auth.models.User`’s ``__init__`` method to
allow setting arbitrary fields on a :ref:`custom user model