On Wed, 2007-07-04 at 09:16 +0000, sector119 wrote:
> Hi
> 
> Is it possible to create a global tag not only for one app? I use
> paginator tag for my streets app, but I need to use it for other, like
> people, organizations, ... How can I load and use paginator tag if I
> have templatetags/paginator.py only in my streets application?

When you use the {% load %} template tag, it looks in all your
<app_name>/templatetag/ directories. After all, the template doesn't
know which app it belongs to -- it might not belong to any particular
app. So just load any tag from any application in your templates and it
will work.

Regards,
Malcolm

-- 
I don't have a solution, but I admire your problem. 
http://www.pointy-stick.com/blog/


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