It is possible to change CSRF_FAILURE_VIEW in settings to a custom view, but it can possibly break a couple of tests in flatpages module. The easiest and most obvious solution would be to ensure, that flatpages tests test against correct view.
contrib/flatpages/tests: override CSRF_FAILURE_VIEW in case someone c…
…hanged it in settings
contrib/flatpages/tests: removed whitespaces, to keep coding style
Is there a trac ticket for this?
No there isn't. Should I make one?
Without a ticket, the pull request isn't likely to get much attention.
merged in dafec05