mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
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.