On Sep 16, 2:25 am, Graham Dumpleton <[email protected]>
wrote:
> You need to add it to sys.path in WSGI script file. The PYTHONPATH
> in .bashrc of your personal account isn't used by Apache/mod_wsgi.
>
> Graham
i already use sys.path
my WSGI script file is
{
import site
site.addsitedir('/home/jagdeep/CMS/bin/lib/python2.6/site-packages')
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'djangocms.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
sys.path.append('/home/jagdeep/')
}
my django project is placed in /home/jagdeep/djangocms directory
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.