-
-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Does pongo2 support recursion template #279
Comments
Can you provide a minimal example in code which demonstrates the problem to have it debugged easier? Thanks. |
@AlkaidChan I'm having the same issue, did you come up with a solution? |
Can you provide a minimal working example of the potential bug so I can take a look? Thanks! |
This is the data, simply a struct that can have its own datatype as children.
Template code:
|
Eventually, my program crashes:
... and so on. |
@flosch did you have a chance to take a look at this, and perhaps reproduce? Recursion is a must for me here, I'd really rather not have to write a bunch of custom template tags or other creative solutions to solve this. |
Did not had time yet, but it's on my todo list; no ETA though unfortunately. |
When I render a template "comment.html", use "{% include "comment.html" with comments=comment.SubComments %}, it led to a stack overflow,
I'm pretty sure my grammar is correct in django.
The text was updated successfully, but these errors were encountered: