Closed lnmichal closed 6 years ago
Settings.TEMPLATE_DEBUG parameter was finally removed in Django 1.10. After the change the code will be compatible with current and previous Django versions. Currently, the exception is catched higher and re-raised if needed.
Maybe try to get the value of DEBUG if TEMPLATE_DEBUG is not set?
IMHO there is no need for it. Currently, Django checks the setting and catches the exception if needed on the lower level.
Settings.TEMPLATE_DEBUG parameter was finally removed in Django 1.10. After the change the code will be compatible with current and previous Django versions. Currently, the exception is catched higher and re-raised if needed.