1
0
mirror of https://github.com/django/django.git synced 2025-02-08 08:26:13 +00:00

Corrected User model docstring about required fields.

Follow up to 841a87785a78cc37362a66856025bae2f7ba633c.
This commit is contained in:
ovalseven8 2018-03-04 21:24:36 +01:00 committed by Tim Graham
parent 4ff29a53e6
commit 821e304cc4

View File

@ -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'