mirror of
https://github.com/django/django.git
synced 2025-02-28 11:34:28 +00:00
Fixed a typo in contrib/auth/tests/custom_user.py docstring.
This commit is contained in:
parent
7102b99653
commit
4986653d9d
@ -211,7 +211,7 @@ class CustomUserNonListRequiredFields(AbstractBaseUser):
|
||||
|
||||
|
||||
class CustomUserBadRequiredFields(AbstractBaseUser):
|
||||
"A user with a non-unique username"
|
||||
"A user with a USERNAME_FIELD that appears in REQUIRED_FIELDS (invalid)"
|
||||
username = models.CharField(max_length=30, unique=True)
|
||||
date_of_birth = models.DateField()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user