#34695: security.E101 false positive with class-based views
-------------------------------------+-------------------------------------
Reporter: Anthony Sottile | Owner: nobody
Type: Bug | Status: new
Component: Core (System | Version: 4.2
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
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak):
As far as I'm aware, `CSRF_FAILURE_VIEW` doesn't support class-based
views, at least officially, check out
[https://docs.djangoproject.com/en/stable/ref/settings/#csrf-failure-view
docs]:
''"A dotted path to the **view function** to be used when an incoming
request is rejected by the CSRF protection. The function should have this
signature:"''
--
Ticket URL: <https://code.djangoproject.com/ticket/34695#comment:2>
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/010701892724ad92-796d9c0f-0707-4c15-8833-883a7c1c35a4-000000%40eu-central-1.amazonses.com.