Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ csrf_view
Function
csrf_view
tests/cache/tests.py:2631–2632 ·
view source on GitHub ↗
(request)
Source
from the content-addressed store, hash-verified
2629
2630
2631
def
csrf_view(request):
2632
return
HttpResponse(csrf(request)[
"csrf_token"
])
2633
2634
2635
@override_settings(
Callers
nothing calls this directly
Calls
2
HttpResponse
Class · 0.90
csrf
Function · 0.90
Tested by
no test coverage detected