mirror of
https://github.com/django/django.git
synced 2025-06-15 08:29:11 +00:00
[1.5.x] Fixed #19191 -- Corrected a typo in CustomUser docs
Thanks spleeyah for the report. Backport of 90c7656 from master.
This commit is contained in:
parent
f6e2a2b210
commit
02b66f161f
@ -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'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user