MCPcopy
hub / github.com/django/django / debug_processor

Function debug_processor

tests/context_processors/views.py:10–15  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

8
9
10def debug_processor(request):
11 context = {
12 "debug_objects": DebugObject.objects,
13 "other_debug_objects": DebugObject.objects.using("other"),
14 }
15 return render(request, "context_processors/debug.html", context)
16
17
18def csp_nonce_processor(request):

Callers

nothing calls this directly

Calls 2

renderFunction · 0.90
usingMethod · 0.45

Tested by

no test coverage detected