Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#8582 closed (duplicate)

Changing password on a new install generates a NoReverseMatch exception

Reported by: Joshua Kugler <joshua@…> Owned by: nobody
Component: contrib.admin Version: 1.0-beta
Severity: Keywords: password_change_done, NoReverseMatch
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I searched for this bug, best I knew how...didn't find anything on it.

  1. Installed 1.0Beta1
  2. Activated the admin per the instructions in the tutorial
  3. Logged in
  4. Clicked on the "Change password" link (top right of the page)
  5. Changed password
  6. Got this:

Request Method: POST
Request URL:
Django Version: 1.0-beta_1-SVN-8472
Python Version: 2.5.2
Installed Applications:
Installed Middleware:

File "/usr/lib/python2.5/site-packages/django/core/handlers/" in get_response
  86.                 response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/" in root
  161.             return self.password_change(request)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/" in password_change
  197.         return password_change(request)
File "/usr/lib/python2.5/site-packages/django/contrib/auth/" in __call__
  67.             return self.view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/auth/" in password_change
  139.             return HttpResponseRedirect(reverse('django.contrib.auth.views.password_change_done'))
File "/usr/lib/python2.5/site-packages/django/core/" in reverse
  307.             *args, **kwargs)))
File "/usr/lib/python2.5/site-packages/django/core/" in reverse
  291.         raise NoReverseMatch("Reverse for '%s' not found." % lookup_view)

Exception Type: NoReverseMatch at /jkugler/admin/password_change/
Exception Value: Reverse for '<function password_change_done at 0x8cc92cc>' not found.

This is under mod_python. Apache config:

    <Location "/jkugler/">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        SetEnv DJANGO_SETTINGS_MODULE skaconnect.settings
        PythonOption django.root /jkugler
        PythonDebug On
        PythonPath "['/home/jkugler/code'] + sys.path"
        PythonInterpreter jkugler_python
        PythonAutoReload On

from django.conf.urls.defaults import *
from django.contrib import admin

urlpatterns = patterns('',

Change History (2)

comment:1 Changed 10 years ago by Malcolm Tredinnick

Resolution: duplicate
Status: newclosed

This is #8493, fixed in [8473]. Thanks for the clear report, in any case.

comment:2 Changed 7 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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