Django ImportError
I'm trying to set up a django site on ubuntu-lucid, and I'm following
Where should my project actually go, in /srv/www/mydomain.org/application or /srv/www/mydomain.org/application/myproj?
I've tried both.
If the project is in application/myproj:
I get a 500 in the browser and error.log says "ImportError: Could not import settings 'settings' (Is it on sys.path?): No module named settings"
If the project is in application:
Django actually outputs to the browser, and shows me an ImportError saying "No module named myproj.urls"
I've triple-checked that I've followed the guide properly. Is this a python path issue?
1 Reply
To answer my own question, the django project just goes directly in the application directory.