Better variable name.

This commit is contained in:
Emil Stenström 2015-06-14 14:41:41 +02:00
parent 176574a9cc
commit 51ca8e3a15

View file

@ -6,7 +6,7 @@ register = template.Library()
@register.simple_tag(name="component_dependencies")
def component_dependencies_tag():
out = []
for comp in registry._registry.values():
out.append(comp.render_dependencies())
for component_class in registry._registry.values():
out.append(component_class.render_dependencies())
return "\n".join(out)