mirror of
https://github.com/django-components/django-components.git
synced 2025-12-10 14:29:20 +00:00
parent
e9fba9538f
commit
4c14675c3a
2 changed files with 22 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ def do_component(parser, token):
|
|||
"Component name '%s' should be in quotes" % component_name
|
||||
)
|
||||
|
||||
component_name = component_name.strip('"')
|
||||
component_name = component_name.strip('"\'')
|
||||
component_class = registry.get(component_name)
|
||||
component = component_class()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue