On Tue, Aug 20, 2013 at 1:54 PM, Daniel Roseman <dan...@roseman.org.uk> wrote: > Django doesn't care what app the tags are in, as long as that app is in > INSTALLED_APPS and the tags are in the templatetags directory inside the app > (and Python requires a blank __init__.py in that directory too).
A slight follow up on what Daniel said - Django will iterate through your installed apps until it can load a tag library with the appropriate name from that app, at which point it stops trying to load it. Therefore, if you use a common name for your library like 'tags', you may be unexpectedly loading a tag library from a different app - perhaps one that you didn't even know about. So be sure to use a distinctive name! Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.