Skip to content

Commit

Permalink
Fixed a typo in contrib/auth/tests/custom_user.py docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jan 9, 2015
1 parent 7102b99 commit 4986653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/auth/tests/custom_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class Meta:


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

Expand Down

0 comments on commit 4986653

Please sign in to comment.