From: Jeremy Kerr Date: Wed, 30 Sep 2009 07:17:19 +0000 (+1000) Subject: Use psycopg2 as default DB engine X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=9b312e325e4fba329b062efe1013d67e83815785;hp=1721936784be4c17917c34a8db5966e7fe4918d1;p=patchwork Use psycopg2 as default DB engine As the 'postgres' engine seems to have been deprecated, use the postgres_psycopg2 engine instead Signed-off-by: Jeremy Kerr --- diff --git a/apps/settings.py b/apps/settings.py index 83aeeb4..20c8db3 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -9,7 +9,7 @@ ADMINS = ( MANAGERS = ADMINS -DATABASE_ENGINE = 'postgresql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. +DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. DATABASE_NAME = 'patchwork' # Or path to database file if using sqlite3. DATABASE_USER = '' # Not used with sqlite3. DATABASE_PASSWORD = '' # Not used with sqlite3.