--
Ticket URL: <https://code.djangoproject.com/ticket/32311>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
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>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:2>
* owner: nobody => Hasan Ramezani
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:3>
Comment (by Hasan Ramezani):
[https://github.com/django/django/pull/13835 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:4>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:5>
Comment (by Adam Johnson):
Btw Hasan, in future when you make a PR please check 'has patch' on Trac,
otherwise it'll take longer for people to notice.
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:6>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:7>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:8>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"64331419c848a8b6835b25f2c600d7150f722c96" 64331419]:
{{{
#!CommitTicketReference repository=""
revision="64331419c848a8b6835b25f2c600d7150f722c96"
Fixed #32311 -- Added system check for CSRF_FAILURE_VIEW setting.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:9>
Comment (by GitHub <noreply@…>):
In [changeset:"ba3fb2e4d0aca26f6ea37d7e31488ad09043f89d" ba3fb2e4]:
{{{
#!CommitTicketReference repository=""
revision="ba3fb2e4d0aca26f6ea37d7e31488ad09043f89d"
Refs #32311 -- Fixed CSRF_FAILURE_VIEW system check errors code.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32311#comment:10>