Hello,
i'm trying to pass a custom set_password_form to the password_reset_confirm
view. For some reason the set_password_form argument isn't honoured and i
always end up with the original SetPasswordForm.
urls.py:
from foo.accounts.forms import KrSetPasswordForm
url(r'^accounts/password/reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.
+)/$', 'django.contrib.auth.views.password_reset_confirm',
{ 'set_password_form': KrSetPasswordForm, }),
I suppose something is wrong with my url pattern as set_password_form is still
using SetPasswordForm when i check it in the view. Can anybody help me?
Best Regards,
Dirk Eschler
--
Dirk Eschler <[email protected]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---