Django

Code

Ticket #7274 (closed: fixed)

Opened 7 months ago

Last modified 5 months ago

Reset password view shouldn't require sites application

Reported by: joshrl <jrookeley@gmail.com> Assigned to: nobody
Milestone: Component: Contrib apps
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The reset password view (django.contrib.auth.views.password_reset) requires that the django.contrib.sites application is installed. Perhaps there is a good reason for this, but I couldn't think of one so I created a patch to use RequestSite?, if sites isn't installed.

Attachments

reset_password_site_not_required_r7540.diff (0.9 kB) - added by joshrl <jrookeley@gmail.com> on 05/20/08 10:10:59.

Change History

05/20/08 10:10:59 changed by joshrl <jrookeley@gmail.com>

  • attachment reset_password_site_not_required_r7540.diff added.

06/16/08 01:28:00 changed by programmerq

  • stage changed from Unreviewed to Ready for checkin.

06/25/08 23:09:29 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [7748]) Fixed #7274 -- Improved the django.contrib.auth password_reset() view not to require the Sites framework. Thanks, joshrl


Add/Change #7274 (Reset password view shouldn't require sites application)




Change Properties
Action