2006/1/24, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I still have a problem although here is my appache file
> <VirtualHost *:80>
>     DocumentRoot /var/www/mysite
>     ServerName mysite.com
>     ErrorLog logs/mysite.com-error_log
>     CustomLog logs/mysite.com-access_log common
>
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     PythonPath "['/var/www/mysite/'] +sys.path"
>     SetEnv DJANGO_SETTINGS_MODULE mysite.settings
>     PythonDebug On
>
> </VirtualHost>
> but i still have this error when i browse my website
> EnvironmentError: Could not import DJANGO_SETTINGS_MODULE
> 'Grill23.settings' (is it on sys.path?): No module named
> Grill23.settings
>
> If u can help i ll appretiate that a lot
>

PythonPath should be the parent path of your django project, e.g.:

/var/www/mysite/djangoproject/ your django project
so the PythonPath should be /var/www/mysite

Check your path settings.

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit

Reply via email to