#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): Pull Request: https://github.com/django/django/pull/2431 This patch checks the template node list for self extension. During the exploration of this issue we noticed that there may be another case when a recursion error could occur. This issue addresses the case when a template extends itself, but a circular extension could occur further up the ancestry. Should I handle this case as well? It is not immediately clear how I could do this efficiently. -- Ticket URL: <https://code.djangoproject.com/ticket/22232#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.b889748c2a6070f16719f10102fb2986%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.