home / django_tickets / tickets

tickets: 8582

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8582 2008-08-27 00:31:32 2011-09-28 16:12:17 2022-03-06 03:42:38.192112 Unreviewed closed contrib.admin     1.0-beta duplicate Changing password on a new install generates a NoReverseMatch exception 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: {{{ Environment: Request Method: POST Request URL: http://demo.sktdev.com/jkugler/admin/password_change/ Django Version: 1.0-beta_1-SVN-8472 Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware') Traceback: File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py" in root 161. return self.password_change(request) File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py" in password_change 197. return password_change(request) File "/usr/lib/python2.5/site-packages/django/contrib/auth/decorators.py" in __call__ 67. return self.view_func(request, *args, **kwargs) File "/usr/lib/python2.5/site-packages/django/contrib/auth/views.py" in password_change 139. return HttpResponseRedirect(reverse('django.contrib.auth.views.password_change_done')) File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" in reverse 307. *args, **kwargs))) File "/usr/lib/python2.5/site-packages/django/core/urlresolvers.py" 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 </Location> }}} urls.py: {{{ from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^admin/(.*)', admin.site.root), ) }}} nobody Joshua Kugler <joshua@joshuakugler.com> password_change_done, NoReverseMatch 0 0 0 0 0 0
Powered by Datasette · Queries took 0.754ms