MCPcopy
hub / github.com/django/django / no_template_used

Function no_template_used

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

Source from the content-addressed store, hash-verified

11
12
13def no_template_used(request):
14 template = Template("This is a string-based template")
15 return HttpResponse(template.render(Context({})))
16
17
18def empty_response(request):

Callers

nothing calls this directly

Calls 4

renderMethod · 0.95
TemplateClass · 0.90
HttpResponseClass · 0.90
ContextClass · 0.90

Tested by

no test coverage detected