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 58f374a commit 8ac0bb5Copy full SHA for 8ac0bb5
debug_toolbar/panels/templates/panel.py
@@ -93,7 +93,7 @@ def _store_template_info(self, sender, **kwargs):
93
94
context_list = []
95
for context_layer in context.dicts:
96
- if hasattr(context_layer, "items") and context_layer:
+ if context_layer:
97
# Refs GitHub issue #910
98
# If we can find this layer in our pseudo-cache then find the
99
# matching prettified version in the associated list.
0 commit comments