Django : debugging templatetags

Posted by interstar on Stack Overflow See other posts from Stack Overflow or by interstar
Published on 2009-09-20T11:09:27Z Indexed on 2010/05/06 5:48 UTC
Read the original article Hit count: 530

How on earth do people debug Django templatetags?

I created one, based on a working example, my new tag looks the same to me as the existing one. But I just get a

'my_lib' is not a valid tag library: Could not load template library from django.templatetags.my_lib, No module named my_lib

I know that this is probably because of something failing when defining the lib. But how do I see what's going on?

What do you use to debug this situation?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-template-tags