#5862: Filters are not applied in an include tag
-----------------------+----------------------------------------------------
Reporter: gnuvince | Owner: nobody
Status: new | Component: Template system
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
With the extends tag, you can do the following (trivial filter used for
example purpose):
{{{
{% extends "foo/bar"|add_html_extension %}
}}}
And the filter will be applied to "foo/bar" before the call to extends. I
figured this would work with the include tag as well, but it doesn't.
{{{
{% include "foo/bar"|add_html_extension %}
}}}
Here, the filter will never be called. Could we fix this?
--
Ticket URL: <http://code.djangoproject.com/ticket/5862>
Django Code <http://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---