MCPcopy
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
2631def csrf_view(request):
2632 return HttpResponse(csrf(request)["csrf_token"])
2633
2634
2635@override_settings(

Callers

nothing calls this directly

Calls 2

HttpResponseClass · 0.90
csrfFunction · 0.90

Tested by

no test coverage detected