Are you  missing a __init__.py in the tags directory?


On Jul 29, 7:57 am, Daymien <reimund.kl...@googlemail.com> wrote:
> Hallo,
>
> I created a templatetag, wich I use to display some notes on admin
> index template.
> With the bildin develop webserver all works fine.
>
> But when I start the apache server with mod_wsgi or mod_python it
> won't work:
>
> *********************************************************************
> TemplateSyntaxError at /
>
> 'note_tags' is not a valid tag library: Could not load template
> library from django.templatetags.note_tags, No module named
> note.models
>
> Request Method:         GET
> Request URL:    http://bpagate/
> Exception Type:         TemplateSyntaxError
> Exception Value:
>
> 'note_tags' is not a valid tag library: Could not load template
> library from django.templatetags.note_tags, No module named
> note.models
>
> Exception Location:     /usr/local/lib64/python2.4/site-packages/django/
> template/defaulttags.py in load, line 926
> Python Executable:      /usr/bin/python
> Python Version:         2.4.2
> Python Path:    ['/usr/lib/python24.zip', '/usr/lib64/python2.4', '/usr/
> lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk', '/usr/
> lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/site-packages', '/
> usr/lib64/python2.4/site-packages/Numeric', '/usr/lib64/python2.4/site-
> packages/dbus', '/usr/lib64/python2.4/site-packages/gtk-2.0', '/usr/
> local/lib64/python2.4/site-packages', '/data2/Eurexc/scripts']
> Server time:    Mi, 29 Jul 2009 14:50:56 +0200
> *********************************************************************
>
> I don't understand the issue esspecially it works with the buildin
> webserver!
> Who can hep, please?
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to