summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorovalseven8 <ovalseven8@users.noreply.github.com>2018-03-04 21:24:36 +0100
committerTim Graham <timograham@gmail.com>2018-03-04 15:24:36 -0500
commit821e304cc45182af85ff4fbe99ff85398a504d63 (patch)
tree5873174f3344372894a38a4b32fd6e2b9c5872fe /django
parent4ff29a53e68ef44b2f4947548a224b569d4b0394 (diff)
Corrected User model docstring about required fields.
Follow up to 841a87785a78cc37362a66856025bae2f7ba633c.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/auth/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py
index bb444a6dde..c4ccf5b4ef 100644
--- a/django/contrib/auth/models.py
+++ b/django/contrib/auth/models.py
@@ -358,7 +358,7 @@ class User(AbstractUser):
Users within the Django authentication system are represented by this
model.
- Username, password and email are required. Other fields are optional.
+ Username and password are required. Other fields are optional.
"""
class Meta(AbstractUser.Meta):
swappable = 'AUTH_USER_MODEL'