On 5/14/07, Olivier Guilyardi <[EMAIL PROTECTED]> wrote:
> Is this the expected behaviour?

Yes; tag libraries don't persist across blocks or into child
templates. You can make a particular tag library "global" by using the
(undocumented) function django.template.add_to_builtins, however;
somewhere in code that's guaranteed to be imported (your app's
__init__.py) is a good choice, add something like the following:

from django.template import add_to_builtins

add_to_builtins('my_lib')

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to