1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +00:00

Removed doc note about PasswordResetForm requiring an integer PK.

This limitation was lifted in refs #14881.
This commit is contained in:
Tim Graham 2015-01-01 11:38:53 -05:00
parent e80f59e3bb
commit a7aaabfaf1

View File

@ -746,9 +746,9 @@ auth views.
* :class:`~django.contrib.auth.forms.PasswordResetForm` * :class:`~django.contrib.auth.forms.PasswordResetForm`
Assumes that the user model has an integer primary key, has a field named Assumes that the user model has a field named ``email`` that can be used to
``email`` that can be used to identify the user, and a boolean field identify the user and a boolean field named ``is_active`` to prevent
named ``is_active`` to prevent password resets for inactive users. password resets for inactive users.
* :class:`~django.contrib.auth.forms.SetPasswordForm` * :class:`~django.contrib.auth.forms.SetPasswordForm`