mirror of
https://github.com/django/django.git
synced 2025-01-22 00:02:15 +00:00
71179a6124
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.