On Jul 6, 2006, at 10:55 PM, Malcolm Tredinnick wrote:
> It should work. You have some other problem going on. The standard
> queries would be "is the app in INSTALLED_APPS?" and "do you have
> templatetags/__init__.py?" Since I gather you are using code that  
> worked
> previously, I guess these are already settled.
>
> If this code, unchanged used to work, then can you tell us what error
> you are seeing? Is it really not finding the file, or having a problem
> trying to import it (import errors in custom template tag files filter
> up in strange ways, like mysterious internal server errors with no  
> clues
> attached).

A good thing to try is to drop into the interpreter and try to load  
the file.  If there's (e.g.) a syntax error in your templatetag  
you'll see it there.

Nothing's changed about where to put template tags since Django was  
open sourced.  If you've got a non-working tag it's either a problem  
with the code or one of the things that Malcolm said.

Jacob

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

Reply via email to