I recently upgraded to Django 1.3 (from 1.2) and noticed that our
password reset functionality isn't working.  I do have the templates
customized, but am using the default view/form files for this.
Looking at the django.contrib.auth.views file, I can't see the issue
either (the parameters in the opt dict seem to match the expected
params on the form, etc)
here is my urls.py config...

    # password reset
    (r'^password_reset/$', 'django.contrib.auth.views.password_reset',
{'template_name':'registration/dasn_password_reset.html',
'email_template_name':'email/dasn_password_reset_email.html'}),
    (r'^password_reset/done/$',
'django.contrib.auth.views.password_reset_done',
{'template_name':'registration/dasn_password_reset_done.html'}),
    (r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
'django.contrib.auth.views.password_reset_confirm', {'template_name':
'registration/dasn_password_reset_confirm.html'}),
    (r'^reset/done/$',
'django.contrib.auth.views.password_reset_complete', {'template_name':
'registration/dasn_password_reset_complete.html'}),

here is the error...any ideas?

Request Method:         POST
Request URL:    http://127.0.0.1:8000/password_reset/
Django Version:         1.3 SVN-16907
Exception Type:         TypeError
Exception Value:

password_reset_form_save() got an unexpected keyword argument
'request'

Exception Location:     c:\projects\dasn\django\django\contrib\auth
\views.py in password_reset, line 155
Python Executable:      C:\Python27\python.exe
Python Version:         2.7.1
Python Path:

['C:\\projects\\dasn\\dasn\\apps',
 'C:\\Python27\\lib\\site-packages\\xlrd-0.7.1-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\pil-1.1.7-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\markdown-2.0.3-py2.7-win32.egg',
 'C:\\Python27\\lib\\site-packages\\boto-2.0b3-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\robhudson-django-debug-
toolbar-930f33b',
 'c:\\projects\\dasn\\django',
 'c:\\projects\\dasn\\dasn',
 'c:\\projects\\dasn\\dasn\\apps',
 'C:\\Windows\\system32\\python27.zip',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\lib',
 'C:\\Python27\\lib\\plat-win',
 'C:\\Python27\\lib\\lib-tk',
 'C:\\Python27',
 'C:\\Python27\\lib\\site-packages',
 'C:\\Python27\\lib\\site-packages\\PIL']

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to