Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ csp_nonce
Function
csp_nonce
tests/middleware/views.py:30–31 ·
view source on GitHub ↗
(request)
Source
from the content-addressed store, hash-verified
28
29
30
def
csp_nonce(request):
31
return
HttpResponse(get_nonce(request))
32
33
34
@csp_override({})
Callers
nothing calls this directly
Calls
2
HttpResponse
Class · 0.90
get_nonce
Function · 0.90
Tested by
no test coverage detected