On 28 mar, 20:58, javatina <serge.i...@gmail.com> wrote:
> Thanks for responding. It's been very important - helps "gauge"
> thinking, how far I am off :)
>
> 1. I haven't yet looked at middlewares - will do.
>
> 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.


> 5. Can you please clarify what you mean by "memorization"

s/memorization/memoization.

http://www.google.fr/search?q=memoization

-- 
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