Fixed a typo in contrib/auth/tests/custom_user.py docstring.

This commit is contained in:
Tim Graham 2015-01-09 14:33:04 -05:00
parent 7102b99653
commit 4986653d9d
1 changed files with 1 additions and 1 deletions

View File

@ -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()