Revision af15e964 snf-astakos-app/astakos/im/urls.py

b/snf-astakos-app/astakos/im/urls.py
87 87
            'post_change_redirect':'profile',
88 88
            'password_change_form':ExtendedPasswordChangeForm
89 89
            },
90
            name='password_change')
90
            name='password_change'),
91
        url(r'^local/password_reset/done$', 'local.password_reset_done'),
92
        url(r'^local/reset/confirm/done$',
93
            'local.password_reset_confirm_done')
91 94
    )
92 95
    urlpatterns += patterns('django.contrib.auth.views',
93
        url(r'^local/password_reset/?$', 'password_reset',
94
         {'email_template_name':'registration/password_email.txt',
95
          'password_reset_form':ExtendedPasswordResetForm}),
96
        url(r'^local/password_reset/?$', 'password_reset', {
97
            'email_template_name':'registration/password_email.txt',
98
            'password_reset_form':ExtendedPasswordResetForm,
99
            'post_reset_redirect':'password_reset/done'
100
         }),
96 101
        url(r'^local/password_reset_done/?$', 'password_reset_done'),
97 102
        url(r'^local/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/?$',
98
         'password_reset_confirm', {'set_password_form':ExtendedSetPasswordForm}),
103
         'password_reset_confirm', {
104
             'set_password_form':ExtendedSetPasswordForm,
105
             'post_reset_redirect': 'done'
106
         }),
99 107
        url(r'^local/password/reset/complete/?$', 'password_reset_complete')
100 108
    )
101 109

  

Also available in: Unified diff