mirror of
https://github.com/django/django.git
synced 2024-12-29 12:36:08 +00:00
8 lines
204 B
HTML
8 lines
204 B
HTML
|
Recursion!
|
||
|
{% for comment in comments %}
|
||
|
{{ comment.comment }}
|
||
|
{% if comment.children %}
|
||
|
{% include "recursive_include.html" with comments=comment.children %}
|
||
|
{% endif %}
|
||
|
{% endfor %}
|