aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2009-09-30 17:17:19 +1000
committerJeremy Kerr <jk@ozlabs.org>2009-09-30 17:17:19 +1000
commit9b312e325e4fba329b062efe1013d67e83815785 (patch)
tree723afc0b3c710c47d3daf41d7da8b64ed4d58c15
parent1721936784be4c17917c34a8db5966e7fe4918d1 (diff)
downloadpatchwork-9b312e325e4fba329b062efe1013d67e83815785.tar
patchwork-9b312e325e4fba329b062efe1013d67e83815785.tar.gz
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 <jk@ozlabs.org>
-rw-r--r--apps/settings.py2
1 files changed, 1 insertions, 1 deletions
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.