Fixed #19191 -- Corrected a typo in CustomUser docs

Thanks spleeyah for the report.
This commit is contained in:
Claude Paroz 2012-10-26 10:23:33 +02:00
parent fabe9c9e5f
commit 90c7656466
1 changed files with 1 additions and 1 deletions

View File

@ -1889,7 +1889,7 @@ password resets. You must then provide some key implementation details:
as the identifying field:: as the identifying field::
class MyUser(AbstractBaseUser): class MyUser(AbstractBaseUser):
identfier = models.CharField(max_length=40, unique=True, db_index=True) identifier = models.CharField(max_length=40, unique=True, db_index=True)
... ...
USERNAME_FIELD = 'identifier' USERNAME_FIELD = 'identifier'