Fixed #19191 -- Corrected a typo in CustomUser docs
Thanks spleeyah for the report.
This commit is contained in:
parent
fabe9c9e5f
commit
90c7656466
|
@ -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…
Reference in New Issue