There's an accepted ticket: https://code.djangoproject.com/ticket/28780

On Saturday, October 13, 2018 at 9:26:43 AM UTC-4, Frank van der Pluijm 
wrote:
>
> django.contrib.auth.views.PasswordResetConfirmView.dispatch() makes use of 
> two constant values outside of the class definition, 
> INTERNAL_RESET_URL_TOKEN and INTERNAL_RESET_SESSION_TOKEN. When subclassing 
> the view, I would like it to use other values than those, since the stored 
> session values can get mixed up.
>
> Wouldn’t it be an improvement if those values were set on the 
> PasswordResetConfirmView class itself, so that, when subclassing it, one 
> can change them on the new class? Now I am forced to include the entire 
> .dispatch(), which feels, well, something not nice.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d8ed6e28-0aa5-42ad-b4ab-8f5299f0f809%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to