I am getting an error when clicking on a password reset link on my django web app. People have asked this question before, the solution is given here - Django-nonrel + Django-registration problem: unexpected keyword argument 'uidb36' when resetting password
In my case I have it already set to base 64 encoding (see my urls.py below) but yet I'm still receiving this error message.
error
password_reset_confirm() got an unexpected keyword argument 'uidb36'
traceback
Traceback:
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/django/views/decorators/debug.py" in sensitive_post_parameters_wrapper
75. return view(request, *args, **kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
52. response = view_func(request, *args, **kwargs)
Exception Type: TypeError at /accounts/password/reset/confirm/Mg-3ve-2379945fbf21a5bfbe8c/
Exception Value: password_reset_confirm() got an unexpected keyword argument 'uidb36'
in my urls.py
urlpatterns = patterns('',
...
url(r'^password/reset/confirm/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$',
auth_views.password_reset_confirm,
name='password_reset_confirm'),
...
)
Pip Freeze
Django==1.6.6
South==1.0
dj-database-url==0.3.0
django-admin-bootstrapped==2.0.4
django-autoslug==1.7.2
django-crispy-forms==1.4.0
django-endless-pagination==2.0
django-guardian==1.2.4
django-registration==1.0
pytz==2014.7
six==1.8.0
wsgiref==0.1.2