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:
parent
4ff29a53e6
commit
821e304cc4
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user