Django

Code

Ticket #6905 (closed: fixed)

Opened 7 months ago

Last modified 4 months ago

Allow to change form class for password reset view

Reported by: m.gajda@paranoja.pl Assigned to: lukeplant
Milestone: Component: Contrib apps
Version: SVN Keywords: contrib auth password reset form override
Cc: Triage Stage: Fixed on a branch
Has patch: 1 Needs documentation: 1
Needs tests: 0 Patch needs improvement: 0

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

password-reset-override-form.patch (0.8 kB) - added by anonymous on 03/27/08 10:45:01.

Change History

03/27/08 10:45:01 changed by anonymous

  • attachment password-reset-override-form.patch added.

06/14/08 10:51:07 changed by programmerq

  • needs_better_patch changed.
  • stage changed from Unreviewed to Design decision needed.
  • needs_tests changed.
  • needs_docs set to 1.

06/24/08 11:00:05 changed 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.

06/24/08 14:35:53 changed by lukeplant

  • status changed from new to closed.
  • resolution set to fixed.
  • 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/Change #6905 (Allow to change form class for password reset view)




Change Properties
Action