i hooked up a simple template cache in django/core/:
- in loader.py I proxy get_template (and cache by name)
- in loader_tags.py I cache inside ExtendsNode.get_parent (the
find_template_source and get_template_from_string calls just like in
loader.py)

but when I enabled the cache it came out that there's some mess showing
up.  namely one template shows data from another template (just as if
the compiled body of parent template in ExtendsNode would rely on what
template inherits it - so it has to be cached under a key <child
template>-<parent template> instead of just <parent template>).

do you know the issue I'm talking about and do you know how to
circumvent it?

regards,
Wojtek


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to