Currently, it is necessary to copy over the view to your own codebase,
which is very unclean.
I will prepare a pull request for this ticket if it gets accepted.
--
Ticket URL: <https://code.djangoproject.com/ticket/25695>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
Comment:
Sounds sensible, especially if pages like to integrate the CSRF error page
with the style of their homepage
--
Ticket URL: <https://code.djangoproject.com/ticket/25695#comment:1>
* owner: nobody => raphaelm
* status: new => assigned
* has_patch: 0 => 1
Comment:
I'd love to hear some feedback.
https://github.com/django/django/pull/5577
--
Ticket URL: <https://code.djangoproject.com/ticket/25695#comment:2>
* version: 1.8 => master
* stage: Accepted => Ready for checkin
Comment:
Patch LGTM.
--
Ticket URL: <https://code.djangoproject.com/ticket/25695#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"16945f0e9c57aeabadb6f2e2f150a2687455be40" 16945f0e]:
{{{
#!CommitTicketReference repository=""
revision="16945f0e9c57aeabadb6f2e2f150a2687455be40"
Fixed #25695 -- Added template_name parameter to csrf_failure() view.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25695#comment:4>