Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ process_response
Method
process_response
tests/csrf_tests/views.py:28–30 ·
view source on GitHub ↗
(self, request, response)
Source
from the content-addressed store, hash-verified
26
27
class
_CsrfCookieRotator(MiddlewareMixin):
28
def
process_response(self, request, response):
29
rotate_token(request)
30
return
response
31
32
33
csrf_rotating_token = decorator_from_middleware(_CsrfCookieRotator)
Callers
1
test_middleware
Method · 0.45
Calls
1
rotate_token
Function · 0.90
Tested by
1
test_middleware
Method · 0.36