We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0072737 commit 06d4dd8Copy full SHA for 06d4dd8
django_coverage_plugin/plugin.py
@@ -75,6 +75,8 @@ def check_debug():
75
return False
76
if not hasattr(django.template.backends.django, "DjangoTemplates"):
77
raise DjangoTemplatePluginException("Can't use non-Django templates.")
78
+ if not django.template.engines._engines:
79
+ return False
80
81
for engine in django.template.engines.all():
82
if not isinstance(engine, django.template.backends.django.DjangoTemplates):
0 commit comments