From 2753e28dd5ebf53285f867c28e5d7aee99d591fb Mon Sep 17 00:00:00 2001 From: Christopher Groskopf Date: Sun, 23 Aug 2009 21:44:20 -0700 Subject: [PATCH] Replicate changes made to get running on a live environment. --- settings.py | 2 +- wsgi/django.wsgi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/settings.py b/settings.py index ba87a26..8bc6780 100644 --- a/settings.py +++ b/settings.py @@ -9,7 +9,7 @@ MANAGERS = ADMINS -DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. +DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'votersdaily_web' # Or path to database file if using sqlite3. DATABASE_USER = 'votersdaily_web' # Not used with sqlite3. DATABASE_PASSWORD = 'nonprod' # Not used with sqlite3. diff --git a/wsgi/django.wsgi b/wsgi/django.wsgi index 55fc41c..3fccd8b 100644 --- a/wsgi/django.wsgi +++ b/wsgi/django.wsgi @@ -3,9 +3,9 @@ import sys sys.stdout = sys.stderr -import django.core.handlers.wsgi - sys.path.append('/var/www/bouvard.mashupkeyword.com/') os.environ['DJANGO_SETTINGS_MODULE'] = 'votersdaily_web.settings' +import django.core.handlers.wsgi + application = django.core.handlers.wsgi.WSGIHandler()