Skip to content

Commit efb1aac

Browse files
authored
Add note about template debug setting to README
1 parent afa9b49 commit efb1aac

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ the plugin to identify untested templates.
5151
If you get a :code:`django.core.exceptions.ImproperlyConfigured` error,
5252
you need to set the :code:`DJANGO_SETTINGS_MODULE` environment variable.
5353

54+
If you get :code:`django_coverage_plugin.plugin.DjangoTemplatePluginException: Template debugging must be enabled in settings`, change your TEMPLATES setting:
55+
56+
.. code-block:: python
57+
58+
DEBUG = True
59+
60+
TEMPLATES = [
61+
{
62+
...
63+
'OPTIONS': {
64+
'debug': DEBUG,
65+
},
66+
},
67+
]
5468
5569
Configuration
5670
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)