> On 2 January 2011 00:56, bruno desthuilliers
>
> <bruno.desthuilli...@gmail.com> wrote:
> > "simple_tag" is nothing new - it has been here since the 0.96 days
> > IIRC.
>
> But only the version in v1.3 has the ability to manipulate the context
> object (which is what's needed in the suggested alternative solution),
> thanks to the new takes_context parameter.
Indeed - but if you go the custom tag route, you can as well just
directly render the 'navigation.html' subtemplate from the custom tag
itself.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment