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 ab01a82 commit d505f49Copy full SHA for d505f49
debug_toolbar/panels/template.py
@@ -78,7 +78,7 @@ def content(self):
78
# Skip templates that we are generating through the debug toolbar.
79
if template.name and template.name.startswith('debug_toolbar/'):
80
continue
81
- if template.name == "<Unknown Template>":
+ if not hasattr(template, 'origin'):
82
83
if template.origin and template.origin.name:
84
template.origin_name = template.origin.name
0 commit comments