If you have something like this in apache configurations:
WSGIScriptAlias /path /base/path/devel/your_project.wsgi
And this is inside your_project.wsgi:
sys.path.append('/base/path') os.environ['DJANGO_SETTINGS_MODULE'] = 'devel.settings'
Then apache will search for /base/path/devel/settings.py. If you move or copy / base / path / devel to / base / path / production, you need to edit DJANGO_SETTINGS_MODULE on your_project.wsgi page, pointing to "production.settings".
Paulo Scardine Dec 16 '10 at 15:24 2010-12-16 15:24
source share