浏览代码

Removed doc note about PasswordResetForm requiring an integer PK.

This limitation was lifted in refs #14881.
Tim Graham 10 年之前
父节点
当前提交
a7aaabfaf1
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/topics/auth/customizing.txt

+ 3 - 3
docs/topics/auth/customizing.txt

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