MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/template/backends/dummy.py:14–19  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

12 app_dirname = "template_strings"
13
14 def __init__(self, params):
15 params = params.copy()
16 options = params.pop("OPTIONS").copy()
17 if options:
18 raise ImproperlyConfigured("Unknown options: {}".format(", ".join(options)))
19 super().__init__(params)
20
21 def from_string(self, template_code):
22 return Template(template_code)

Callers

nothing calls this directly

Calls 5

copyMethod · 0.45
popMethod · 0.45
formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected