diff --git a/{{cookiecutter.project_slug}}/config/settings/test.py b/{{cookiecutter.project_slug}}/config/settings/test.py index 6d07eb50..6b47bea3 100644 --- a/{{cookiecutter.project_slug}}/config/settings/test.py +++ b/{{cookiecutter.project_slug}}/config/settings/test.py @@ -12,7 +12,8 @@ from .common import * # noqa # ------------------------------------------------------------------------------ # Turn debug off so tests run faster DEBUG = False -TEMPLATES[0]['OPTIONS']['debug'] = False +# But template debugging must be enabled for django_coverage_plugin +TEMPLATES[0]['OPTIONS']['debug'] = True # SECRET CONFIGURATION # ------------------------------------------------------------------------------