#28779: PasswordChangeView and PasswordChangeDoneView do not use a custom
REDIRECT_FIELD_NAME
---------------------------------------+------------------------
Reporter: Meiyer | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+------------------------
When a custom `REDIRECT_FIELD_NAME` is defined (for example, for the
`LoginView` in urls.py), the two views `PasswordChangeView` and
`PasswordChangeDoneView` will still use the built-in name ''`next`''. This
is due to the decorator `django.contrib.auth.decorators.login_required`
which uses the name from `django.contrib.auth.REDIRECT_FIELD_NAME` and is
not customizable.
--
Ticket URL: <https://code.djangoproject.com/ticket/28779>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.d5ecf3e664f07851aba1a093084578a2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.