Initialize the template engine. `params` is a dict of configuration settings.
(self, params)
| 9 | # (except for from_string which is optional). |
| 10 | |
| 11 | def __init__(self, params): |
| 12 | """ |
| 13 | Initialize the template engine. |
| 14 | |
| 15 | `params` is a dict of configuration settings. |
| 16 | """ |
| 17 | params = params.copy() |
| 18 | self.name = params.pop("NAME") |
| 19 | self.dirs = list(params.pop("DIRS")) |
| 20 | self.app_dirs = params.pop("APP_DIRS") |
| 21 | if params: |
| 22 | raise ImproperlyConfigured( |
| 23 | "Unknown parameters: {}".format(", ".join(params)) |
| 24 | ) |
| 25 | |
| 26 | def check(self, **kwargs): |
| 27 | return [] |
nothing calls this directly
no test coverage detected