[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::
|
||||
|
||||
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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue