From 821e304cc45182af85ff4fbe99ff85398a504d63 Mon Sep 17 00:00:00 2001 From: ovalseven8 Date: Sun, 4 Mar 2018 21:24:36 +0100 Subject: [PATCH] Corrected User model docstring about required fields. Follow up to 841a87785a78cc37362a66856025bae2f7ba633c. --- django/contrib/auth/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'