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 504ca59 commit 6622791Copy full SHA for 6622791
django_coverage_plugin/plugin.py
@@ -78,6 +78,8 @@ def check_debug():
78
return False
79
if not hasattr(django.template.backends.django, "DjangoTemplates"):
80
raise DjangoTemplatePluginException("Can't use non-Django templates.")
81
+ if not django.template.engines._engines:
82
+ return False
83
84
for engine in django.template.engines.all():
85
if not isinstance(engine, django.template.backends.django.DjangoTemplates):
0 commit comments