Use `context.template.engine.debug` instead of `settings.DEBUG`
mixxorz opened this issue · comments
Exceptions are raised if settings.DEBUG
is True. This is OK, but to be more inline with Django's recommendations, we should check the value of debug
in the template engine's settings instead.