#24577: Restrict extending and including to require templates from the same
engine.
---------------------------------+--------------------
Reporter: prestontimmons | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
If two Django engines are configured and a template object from the first
engine is used as an include or extends in a template from the second
engine, it's not clear which engine will be used if the template object
also happens to include or extend other templates.
Per discussion with Aymeric, it sounds like the least ambiguous behavior
it to raise an exception if an included or extended template has a
different engine than that of the current template.
This affects the IncludeNode, ExtendsNode, and InclusionNode.
--
Ticket URL: <https://code.djangoproject.com/ticket/24577>
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/057.f6d4b994c0ecabb862b0a1727179936d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.