contrib/flatpages/tests: override CSRF_FAILURE_VIEW in case someone changed it in settings #561

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

@teferi

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.

@timgraham
Django member

Is there a trac ticket for this?

@teferi

No there isn't. Should I make one?

@timgraham
Django member

Without a ticket, the pull request isn't likely to get much attention.

@timgraham
Django member

merged in dafec05

@timgraham timgraham closed this Jul 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment