mirror of
https://github.com/Hopiu/django.git
synced 2026-05-19 13:01:06 +00:00
This changes CsrfViewMiddlewareTestMixin._check_token_present() to give more detailed information if the check fails, and in particular why it failed. It also moves CsrfFunctionTests.assertMaskedSecretCorrect() to a separate CsrfFunctionTestMixin so the helper can be used in CsrfViewMiddlewareTestMixin. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| csrf_token_error_handler_urls.py | ||
| test_context_processor.py | ||
| tests.py | ||
| views.py | ||