mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #35493 -- Allowed template self-inclusion with relative paths.
Co-authored-by: Brock <bsmick97@gmail.com>
This commit is contained in:
committed by
Sarah Boyce
parent
ded4854642
commit
55855bc6d0
@@ -0,0 +1,7 @@
|
||||
Recursion!
|
||||
{% for comment in comments %}
|
||||
{{ comment.comment }}
|
||||
{% if comment.children %}
|
||||
{% include "./recursive_relative_include.html" with comments=comment.children %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user