#22232: Template extends tag can cause recursion
---------------------------------+--------------------------------------
Reporter: galedragon | Owner: Saidin7979
Type: Bug | Status: assigned
Component: Template system | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Saidin7979):
I updated the pull request (https://github.com/django/django/pull/2431)
with your recommended solution. It keeps a list of the extended templates
in the render_context if there are any ExtendsNode nodes. I have removed
the previous attempt as this new approach catches both the old and the
new. Let me know what you think.
--
Ticket URL: <https://code.djangoproject.com/ticket/22232#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.24299a01b5a078e914c4a9646adeb821%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.