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.
2 parents 64edae3 + d505f49 commit 0f4e780Copy full SHA for 0f4e780
debug_toolbar/panels/template.py
@@ -78,6 +78,8 @@ 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 not hasattr(template, 'origin'):
82
+ continue
83
if template.origin and template.origin.name:
84
template.origin_name = template.origin.name
85
else:
0 commit comments