Hi,

I have a custom filter which I expect to use in many templates. So instead of
adding {% load my_lib.py %} into every template I'd like to put it into
base.html which all templates extend.

But it doesn't work: when I move the load statement to the parent template and
access the child template I get a TemplateSyntaxError "Invalid filter".

Is this the expected behaviour?

--
  Olivier

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