Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#14031 closed (invalid)


Reported by: harrie.bos@… Owned by: nobody
Component: Forms Version: 1.2
Severity: Keywords: NewPasswordForm SetPasswordForm
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I'd like to see a small change in the django.contrib.auth.forms

SetPasswordForm needs a user in order to use, PasswordChangeForm needs an old password.
I've editted one of those to create a NewPasswordForm wich you can use in combination with a registration form for instance.

Attachments (1) (741 bytes) - added by harrie.bos@… 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by harrie.bos@…

comment:1 Changed 3 years ago by rafen

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Auth doesn't seems to be the place to put the form that you have submit.
Actually the form is only providing a clean method that check the equality of two passwords and no other functionality.
It could be better if you put it in your own privates libraries.

comment:2 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.