mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00
Better variable name.
This commit is contained in:
parent
176574a9cc
commit
51ca8e3a15
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue