From 1d1d49c4c8e01650d09f174fee923243361f20f7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 29 Jan 2013 19:09:33 +0100 Subject: Update migration errors --- apache/django.wsgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apache') diff --git a/apache/django.wsgi b/apache/django.wsgi index 6227ee2..16758e6 100644 --- a/apache/django.wsgi +++ b/apache/django.wsgi @@ -1,5 +1,6 @@ import os, sys -sys.path.append('/var/local/django/chimere/') -os.environ['DJANGO_SETTINGS_MODULE'] = 'mychimere_project.settings' +MAIN_PATH = os.path.realpath(os.path.dirname(__file__)) + "/.." +sys.path.append(MAIN_PATH) +os.environ['DJANGO_SETTINGS_MODULE'] = 'mychimere_project.settings' # change with your project name import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() -- cgit v1.2.3