From your apache config: > PythonPath "['/var/www/webapps/django_project','/var/www/lib/ > python2.5'] + sys.path"
This says that python should look in these directories for modules. > from django_project.apps.myapp.models import ModelOne, > ModelTwo, ModelThree This tries to import a module named "django_project" from *within* that path. HINT: there's no /var/www/webapps/django_project/django_project directory. My guess would be that if you change this to just from apps.myapp.models import ... it will find "apps" within your $PYTHONPATH. That said, your directory structure is a bit odd. The generally suggested (i.e. Malcolm will poke you with a pointy-stick if you don't[1] :) structure is to have your apps ("myapp" in this case) inside a directory on your $PYTHONPATH. I'm not sure what the extra level of "apps/" is doing. It's not like it's even created by the "startproject" command. :-/ -tim [1] http://www.pointy-stick.com/blog/2007/11/09/django-tip-developing-without-projects/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---