#16147: {% include %} tag raises TemplateDoesNotExist at compile time if TEMPLATE_DEBUG is True -------------------------------------+------------------------------------- Reporter: mrmachine | Owner: aaugustin Type: Bug | Status: closed Component: Template system | Version: master Severity: Normal | Resolution: fixed Keywords: include template | Triage Stage: Ready for TemplateDoesNotExist | checkin TEMPLATE_DEBUG | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by Anssi Kääriäinen <akaariai@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"e2f06226ea4a38377cdb69f2f5768e4e00c2d88e"]: {{{ #!CommitTicketReference repository="" revision="e2f06226ea4a38377cdb69f2f5768e4e00c2d88e" Improved {% include %} implementation Merged BaseIncludeNode, ConstantIncludeNode and Include node. This avoids raising TemplateDoesNotExist at parsing time, allows recursion when passing a literal template name, and should make TEMPLATE_DEBUG behavior consistant. Thanks loic84 for help with the tests. Fixed #3544, fixed #12064, fixed #16147 }}} -- Ticket URL: <https://code.djangoproject.com/ticket/16147#comment:13> 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/067.6d089ba5e129d5370d29ff0dd3d0ef72%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.