Hello.
I read that many people have problem with tags in template, but nobody
can help. Example error:
"'test' is not a valid tag library: Could not load template library
from django.templatetags.test, No module named test"

test.py in templatetags:
from django import template

register = template.Library()
@register.filter
def wordscountgt(text, number):
     if len(text.split()) > number:
         return True

My __init__ file is empty.

I tried on widows and linux(0.96, svn) and always i have the same
problem.
How can i solve this problem ?
Thanks for your help
--~--~---------~--~----~------------~-------~--~----~
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