Re: templatetag issue

2009-07-30 Thread chefsmart
I had something like INSTALLED_APPS = ( 'my_django_app',) in my settings.py. I changed it to INSTALLED_APPS = ( 'my_django_project.my_django_app',) and it set things right. On Jul 30, 1:11 pm, Daymien wrote: > Jippii, > I got the solution :-) > > I don't no why this problem only appear with mod

Re: templatetag issue

2009-07-30 Thread Daymien
Jippii, I got the solution :-) I don't no why this problem only appear with mod_python or mod_wsgi with apache and not with the build in webserver, but now it works! The problem was that the app were not in the python search path. So either you include your app to python include path or you chang

Re: templatetag issue

2009-07-30 Thread chefsmart
I have a similar discussion running on http://groups.google.com/group/django-users/browse_frm/thread/989c569d5118980d But the workaround I posted in post no. 2 above works for me, I don't know why it didn't for Daymien. @Daymien: - When trying out my workaround, try to comment out 'django.templa

Re: templatetag issue

2009-07-29 Thread Daymien
My Setup is on the Intranet of my company (SLES 10 SP2 System with apache2 and Django 1.1) --~--~-~--~~~---~--~~ 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@google

Re: templatetag issue

2009-07-29 Thread chefsmart
Where is your production setup? Webfaction? VPS? And which version of Django are you using? On Jul 29, 7:12 pm, Daymien wrote: > Your solution don't work for me yet :-( > I have been copy the note_tags.py to django/templatetags/ and > restartet Apache. > But I got the same issue. Is there anyth

Re: templatetag issue

2009-07-29 Thread Daymien
Your solution don't work for me yet :-( I have been copy the note_tags.py to django/templatetags/ and restartet Apache. But I got the same issue. Is there anything else to do? Regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: templatetag issue

2009-07-29 Thread Daymien
I have teh __init__.py in the directory, too. I use the newest stabel 1.1 So I will try your solution... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Re: templatetag issue

2009-07-29 Thread chefsmart
In my case, I have the __init__.py just as I do on my development environment. On Jul 29, 6:46 pm, Greg Fuller wrote: > Are you  missing a __init__.py in the tags directory? > > On Jul 29, 7:57 am, Daymien wrote: > > > Hallo, > > > I created a templatetag, wich I use to display some notes on ad

Re: templatetag issue

2009-07-29 Thread Greg Fuller
Are you missing a __init__.py in the tags directory? On Jul 29, 7:57 am, Daymien 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

Re: templatetag issue

2009-07-29 Thread chefsmart
I have a similar issue. I have been stuck on this for too long now. What is happening is that Django is not locating your custom note_tags template tag in your application's templatetag directory, though I don't know why. Try this --- on your production server, copy your note_tags file from your