Changes between Initial Version and Version 1 of Ticket #31279
- Timestamp:
- Feb 17, 2020, 12:30:47 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31279
- Property Resolution → invalid
- Property Status new → closed
- Property Summary PasswordResetView always defaulting to the admin page and not to template → PasswordResetView always defaulting to the admin page and not to template.
-
Ticket #31279 – Description
initial v1 1 {{{ 1 2 url(r'^accounts/password-reset/$', auth_views.PasswordResetView.as_view(email_template_name = 'registration/password_reset_email.html', extra_email_context = None, form_class = PasswordResetForm, from_email = None, html_email_template_name = None, subject_template_name = 'registration/password_reset_subject.txt', success_url = reverse_lazy('password_reset_done'), template_name = 'registration/password_reset_form.html', title = _('Password reset'), token_generator = default_token_generator ), name='password_reset'), 2 3 3 4 4 url(r'^accounts/', include('django.contrib.auth.urls')), 5 5 url(r'^admin/', admin.site.urls), 6 6 url(r'^course/', include('courses.urls', namespace='courses')), 7 }}} 7 8 8 PasswordResetView is always defaulting to the admin page and not to template 9 No problems with login 10 ..auth_views.PasswordResetView..as_view(), kwargs{...} doesn't work too. 9 `PasswordResetView` is always defaulting to the admin page and not to template 10 No problems with login `..auth_views.PasswordResetView..as_view(), kwargs{...}` doesn't work too.