Re: Custom templatetags are ignored. Why ?

2006-03-29 Thread Max Battcher

ak wrote:
> After a bit of research I found that my templatetags dir has
> __init__.pyc file and it tells me that django tried to include this
> directory but my news_tags.py file has no .pyc

Sounds like you have a syntax error in news_tags.py.  Try importing it 
within a Python shell.  Basically:

python manage.py shell
 >>> from myproject.myapp.templatetags import news_tags

-- 
--Max Battcher--
http://www.worldmaker.net/
"I'm gonna win, trust in me / I have come to save this world / and in 
the end I'll get the grrrl!" --Machinae Supremacy, Hero (Promo Track)

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



Re: Custom templatetags are ignored. Why ?

2006-03-29 Thread ak

Sorry guys it was my stupidity :)
I should have written
 {% load news_tags %} 
instead of
 {% load "news_tags" %}


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