On Sep 16, 2:25 am, Graham Dumpleton <graham.dumple...@gmail.com> 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 django-us...@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.