Debian Codegraph @

django/core/checks/templates.py

raw
1 from . import Tags, register
2
3
4 @register(Tags.templates)
5 def check_templates(app_configs, **kwargs):
6 """Check all registered template engines."""
7 from django.template import engines
8
9 errors = []
10 for engine in engines.all():
11 errors.extend(engine.check())
12 return errors