RollyF schrieb:
> Could someone point me to a solution somewhere? I have a directory
> call apps and inside is a django project, todo (created using django-
> admin.py startproject todo). This application runs OK with Django's
> built-in server (manage.py runserver). I am trying to setup a staging
> server in Fedora 6, running Apache 2.x and Python 2.4.4. When I run
> the application I am getting the following error:
> 
> EnvironmentError: Could not import settings 'todo.settings' (Is it on
> sys.path? Does it have syntax errors?): No module named
> apps.todo.settings
> 
> Here's my setting in httpd.config
> 
> <Location "/todo">
>   SetHandler python-program
>   PythonHandler django.core.handlers.modpython
>   PythonPath "['/home/rxferoli/apps'] + sys.path"
>   SetEnv DJANGO_SETTINGS_MODULE todo.settings
>   PythonDebug On
>   PythonInterpreter todo
> </Location>
> 
> 
> What am I missing in the config?
> 
> TIA
> Rolly
> 
> 

is in the dir "/home/rxferoli/apps" the dir todo?
inside the dir todo should be the file settings.py

mfg Paul Rauch

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to