[google-appengine] Re: Using the Humanize part of Django templates

2009-06-24 Thread djidjadji
Forget the settings.py file. Have you tried to import the humanize file in the .py file that uses the templates that needs these filters import django.contrib.humanize.templatetags.humanize The code will register the filters during the load. NO need to use {% load humanize %} because the filters

[google-appengine] Re: Using the Humanize part of Django templates

2009-06-23 Thread MajorProgamming
I created a settings.py file and added the INSTALLED APPS but nothing helps. (the error, btw, is "TemplateSyntaxError: 'humanize' is not a valid tag library: Could not load template library from django.templatetags.humanize, No module named humanize"). Remember, I'm not using Django; just the form

[google-appengine] Re: Using the Humanize part of Django templates

2009-06-23 Thread Ian Lewis
Thats the thing about Django. It tends to not work well unless you use the whole framework. INSTALLED_APPS is a setting in the settings.py in django. You'll probably need to create a settings.py and put 'django.contrib.humanize' in the INSTALLED_APPS list. see: http://docs.djangoproject.com/en/dev