nedbat/django_coverage_plugin

Add a note that `TEMPLATE_DEBUG` must be enabled.

charettes opened this issue · 8 comments

I had to read the source to figure out it was required. Fixing the TODO would also be nice.

Even better, I'd like to add an automated warning message if TEMPLATE_DEBUG is not set.

Just fyi, as of Django 1.8, TEMPLATE_DEBUG is deprecated: https://docs.djangoproject.com/en/1.8/ref/settings/#template-debug

It has been replaced by the 'debug' option in the OPTIONS of a DjangoTemplates backend.

This is handled in 99ba553

Thanks Ned!

Will you cut a a release with this fix soon? I spent almost an hour debugging this.

Version 1.2 is on PyPI now, with this fix. Sorry for the delay :)

Thank you!