Add a note that `TEMPLATE_DEBUG` must be enabled.
charettes opened this issue · 8 comments
charettes commented
I had to read the source to figure out it was required. Fixing the TODO would also be nice.
nedbat commented
Even better, I'd like to add an automated warning message if TEMPLATE_DEBUG is not set.
audreyfeldroy commented
Just fyi, as of Django 1.8, TEMPLATE_DEBUG is deprecated: https://docs.djangoproject.com/en/1.8/ref/settings/#template-debug
charettes commented
It has been replaced by the 'debug'
option in the OPTIONS
of a DjangoTemplates
backend.
charettes commented
Thanks Ned!
jonashaag commented
Will you cut a a release with this fix soon? I spent almost an hour debugging this.
nedbat commented
Version 1.2 is on PyPI now, with this fix. Sorry for the delay :)
jonashaag commented
Thank you!