Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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)

12895.diff (637 bytes ) - added by Tim Graham 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Russell Keith-Magee, 15 years ago

milestone: 1.2
Triage Stage: UnreviewedAccepted

by Tim Graham, 15 years ago

Attachment: 12895.diff added

comment:2 by Tim Graham, 15 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: newclosed

(In [12457]) Fixed #12895 - Fixed typo in auth docs. Thanks Timo.

comment:4 by Jannis Leidel, 15 years ago

(In [12477]) [1.1.X] Fixed #12895 - Fixed typo in auth docs. Thanks Timo.

Backported from r12457.

comment:5 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top