On Mar 29, 5:06 am, bruno desthuilliers
<bruno.desthuilli...@gmail.com> wrote:

> > 2. custom template tags - I do not see how they can help here
>
> You were talking about menus built from the db. Using a custom tag to
> build these menus gives you the flexibility to only call on the
> relevant code when needed - instead of calling it on each and every
> use of a RequestContext (remember that RequestContexts can be used by
> any template rendering code - that is mails, templatetags etc).
>
> Once you've written your custom Menu templatetag, caching the result
> is a piece of cake.

But that's conceptually the same - caching. But if you remember I was
looking for alternative approaches.



-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to