1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/csrf_tests
Chris Jerdonek 71179a6124 Fixed #32596 -- Added CsrfViewMiddleware._check_referer().
This encapsulates CsrfViewMiddleware's referer logic into a method and
updates existing tests to check the "seam" introduced by the refactor,
when doing so would improve the test.
2021-05-28 07:31:56 +02:00
..
__init__.py
csrf_token_error_handler_urls.py Fixed #28488 -- Reallowed error handlers to access CSRF tokens. 2017-09-20 16:22:18 -04:00
test_context_processor.py Fixed #31291 -- Renamed salt to mask for CSRF tokens. 2020-02-25 14:16:19 +01:00
tests.py Fixed #32596 -- Added CsrfViewMiddleware._check_referer(). 2021-05-28 07:31:56 +02:00
views.py Dropped obsolete mimetype kwarg in csrf test view 2019-09-21 20:46:39 +02:00