mirror of
https://github.com/django/django.git
synced 2025-03-13 02:40:47 +00:00
[1.6.x] Fixed #21726 -- Clarified that password should not be included in REQUIRED_FIELDS.
Thanks russellm for the report. Backport of 6f06c749b7 from master
This commit is contained in:
parent
a292ad1105
commit
f7c2852f30
@ -530,8 +530,9 @@ password resets. You must then provide some key implementation details:
|
||||
|
||||
.. note::
|
||||
|
||||
``REQUIRED_FIELDS`` must contain all required fields on your User
|
||||
model, but should *not* contain the ``USERNAME_FIELD``.
|
||||
``REQUIRED_FIELDS`` must contain all required fields on your
|
||||
``User`` model, but should *not* contain the ``USERNAME_FIELD`` or
|
||||
``password`` as these fields will always be prompted for.
|
||||
|
||||
.. attribute:: is_active
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user