Code

Opened 6 years ago

Closed 6 years ago

#6905 closed (fixed)

Allow to change form class for password reset view

Reported by: m.gajda@… Owned by: lukeplant
Component: Contrib apps Version: master
Severity: Keywords: contrib auth password reset form override
Cc: Triage Stage: Fixed on a branch
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I would like to have possibility to change form used by password reset view. This is elegant way to provide own functionality into view without need to rewrite it. django-registration application allows it in its views, so one can override forms in url dispatch modules directly.
Desired functionality could be achieved using attached patch.

Attachments (1)

password-reset-override-form.patch (820 bytes) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by anonymous

comment:1 Changed 6 years ago by programmerq

  • Needs documentation set
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 6 years ago by lukeplant

  • Owner changed from nobody to lukeplant

These views have already been rewritten to use newforms in the newforms-admin branch. I will have a look at doing this in that branch.

comment:3 Changed 6 years ago by lukeplant

  • Resolution set to fixed
  • Status changed from new to closed
  • Triage Stage changed from Design decision needed to Fixed on a branch

Fixed in r7735 (don't know why the Trac hook didn't work...)

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.