On Mon, 10 Nov 2008 12:55:44 -0800 (PST), prem1er <[EMAIL PROTECTED]> wrote: > > Ok this is where I'm at. Here is my config file for sites-available. > > <VirtualHost *:80> > ServerName www.dev.xxx.us > ServerAlias dev.xxx.us > DocumentRoot /home/dev/djprojects/xxx > <Directory /home/dev/djprojects/xxx> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > AddHandler mod_python .py > PythonHandler mod_python.publisher > PythonDebug On > </Directory> > <Location "/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonDebug On > PythonPath "['/home/dev/djprojects/xxx'] + sys.path" > </Location> > </VirtualHost> > > And I'm getting this error. > > Could not import settings 'mysite.settings' (Is it on sys.path? Does > it have syntax errors?): No module named mysite.settings > > I understand that mysite.settings is supposed to be the location of my > settings.py, but is it just supposed to be the path of that file?
Try removing the mysite part so it is juat SetEnv DJANGO_SETTINGS_MODULE settings -- Brandon Martin --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---