mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Corrected User model docstring about required fields.
Follow up to 841a87785a
.
This commit is contained in:
parent
4ff29a53e6
commit
821e304cc4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue