I have subclassed the view PasswordResetConfirmView because I want to pass in my own form, however, I keep getting the following error:
<https://lh3.googleusercontent.com/-Dxf6rhMiAeg/WZUfGFZ8hbI/AAAAAAAAOxs/0hsdLonpKnceskZVGuYkr2vFjXtibjnIACLcBGAs/s1600/django_error.JPG> Sometimes the error reads: get() got an unexpected keyword argument 'token'. My view looks like this: class CustomPasswordResetConfirmView(PasswordResetConfirmView): form_class = SetPasswordForm def get(self, request, token=None, uidb64=None): super(CustomPasswordChangeView, self).get(request, token, uidb64) return render(request, 'registration/password_reset_confirm.html') The URL connected to this view is: url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', views.CustomPasswordResetConfirmView.as_view(), name='password_reset_confirm'), I've tried everything I can think of but I always get the error above. Any help will be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/93c7a67e-0c79-4848-8a98-e7f11671cb5e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

