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):
|
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)
|
username = models.CharField(max_length=30, unique=True)
|
||||||
date_of_birth = models.DateField()
|
date_of_birth = models.DateField()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue