Could not load custom filter module

21 views
Skip to first unread message

Facundo Casco

unread,
May 17, 2006, 1:36:34 PM5/17/06
to django...@googlegroups.com
Hi, I'm tring to make custom filters but I can't make Django find my module
I get this error:
Could not load template library from django.templatetags.amx2_filters,
No module named amx2_filters

The directory structure is:
~/base/amx/templatetags/__init__py
~/base/amx/templatetags/amx2_filters.py

I tried commenting out every line on amx2_filtres.py but still doesn't work.

I changed django/templatetags/__init__.py to raise SystemError instead
of pass on line 7 and now I see that INSTALLED_APPS = None on the debug
screen. Is that ok?

Anyone can help me to solve this?

Thanks a lot


Facundo

facundo.vcf

Facundo Casco

unread,
May 18, 2006, 2:32:03 PM5/18/06
to django...@googlegroups.com

After some looking around I've solved my problem.
I dind't have my app added to INSTALLED_APPS in settings.py, I added and
now it's working fine.
Maybe this could help someone with a similar problem.

Facundo

facundo.vcf
Reply all
Reply to author
Forward
0 new messages