You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: {% icon_with_text %}Here's the text{% endicon_with_text %}
Getting error: django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 2: 'icon'. Did you forget to register or load this tag?
Both tags are located in the same python my_components_tags.py file.
There are other block/inline components working without any problems. {% icon %} tag alone also renders without problems.
Using the latest 0.5.1 version of djck.
Thanks, if you need more info let me know.
The text was updated successfully, but these errors were encountered:
Hello Sascha, here's a problem I am facing.
Describe the bug
Can't use other djck components in the component
To Reproduce
Say there are 2 components.
{% icon %}
-> Inline{% icon_with_text %}
-> blockThe first one is a simple svg code. The second one is a div and text below.
Here's the template for the second one.
icon_with_text.html (simplified)
Usage:
{% icon_with_text %}Here's the text{% endicon_with_text %}
Getting error:
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 2: 'icon'. Did you forget to register or load this tag?
Both tags are located in the same python my_components_tags.py file.
There are other block/inline components working without any problems. {% icon %} tag alone also renders without problems.
Using the latest 0.5.1 version of djck.
Thanks, if you need more info let me know.
The text was updated successfully, but these errors were encountered: