List Info

Thread: resend: Include Template tags from application directory?




resend: Include Template tags from application directory?
user name
2006-09-29 14:41:52
Hi all,
 
Sorry, I fired that one off a bit early! Here it is again with readable english!
 
Here's a quick question from a newbie:
How do I include template tags from within the application directory?
I have TEMPLATE_DIRS = ( "path-to-my/templates/",) in my settings file
Importing templates is ok, but templatetags (which resides next to the templates directory in my application) produces the error message:
"x is not a valid tag library: Could not load template library from django.templatetags.x"
 
Can someone give me some pointers?
 
Thanks,
Gareth

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users"; group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to django-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )