#12895 closed (fixed)
"SetPasswordForm" should be "PasswordResetForm"
Reported by: | kun | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.1 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
notice errors with this documentation:
http://docs.djangoproject.com/en/1.1/topics/auth/#topics-auth
search this keyword:
views.password_reset(request[, is_admin_site, template_name, email_template_name, password_reset_form, token_generator, post_reset_redirect])
in "Optional arguments:" -> "password_reset_form" -> "Defaults to SetPasswordForm." <<< it shoud be "PasswordResetForm"
the source code(django\contrib\auth\views.py -> def password_reset...) is "PasswordResetForm", so it shoud be an error.
Attachments (1)
Change History (6)
comment:1 by , 15 years ago
milestone: | → 1.2 |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 15 years ago
Attachment: | 12895.diff added |
---|
comment:2 by , 15 years ago
Has patch: | set |
---|---|
Triage Stage: | Accepted → Ready for checkin |
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
(In [12457]) Fixed #12895 - Fixed typo in auth docs. Thanks Timo.