1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

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

View File

@ -1889,7 +1889,7 @@ password resets. You must then provide some key implementation details:
as the identifying field::
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'