#17356: Allow {% include %} to render compiled templates on the context ---------------------------------+-------------------- Reporter: SmileyChris | Owner: nobody Type: New feature | Status: new Component: Template system | Version: 1.3 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 ---------------------------------+-------------------- A fanciful example:
{{{ #!python template = template.Template('Buy me {% include subtemplate %}.') context = template.Context({ 'subtemplate': template.Template('some {{ produce }}'), 'produce': 'apples', }) print template.render(context) }}} -- Ticket URL: <https://code.djangoproject.com/ticket/17356> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.