#32311: Add system check for CSRF_FAILURE_VIEW setting
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: nobody
Type: New feature | Status: new
Component: Core (System | Version: master
checks) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Adam Johnson:
Old description:
> Check #29642 added checks for the custom 400, 404, etc. error views.
> Similarly, a check should be added to ensure that the custom CSRF failure
> view as configured in the CSRF_FAILURE_VIEW setting exists and has the
> right function signature
New description:
Check #29642 added checks for the custom 400, 404, etc. error views.
Similarly, a check should be added to ensure that the custom CSRF failure
view as configured in the CSRF_FAILURE_VIEW setting exists and has the
right function signature. There's otherwise no verification that it's well
configured, and it will only fail when a CSRF error occurs.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.29ce58044a75d82ffcd957da449e91bb%40djangoproject.com.