mirror of
https://github.com/django/django.git
synced 2025-03-06 15:32:33 +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.