I worked through samples in the Visual Quickpro Guide Django. I used python manage.py runserver while running through the examples.
Now, I want to configure this in Apache. Django is complaining about finding modules underneath my top directory. Here's the apache configuration: <Location "/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE chapter4.settings PythonOption django.root /home/amr/web/django/chapter4 PythonPath "['/home/amr/web/django/'] + ['/home/amr/web/django/ favorites/'] + sys.path " PythonDebug On </Location> Here is the error: Request Method: GET Request URL: http://localhost:8586/ Exception Type: ImportError Exception Value: No module named favorites.models Exception Location: /home/amr/web/django/chapter4/favorites/views.py in <module>, line 3 P I can remove this error by editing view.py in chapter4/favorites and modifying from favorites.models import * to from models import * My question is what configuration changes can I make in Apache to avoid making this edit, given this code works with Django's default web server? Thanks. cmn -- 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.