From 4b819c267d6973e634e06f599b5d64cec26cfd95 Mon Sep 17 00:00:00 2001 From: Johannes Krampf Date: Fri, 2 Dec 2011 20:11:03 +0100 Subject: Add database settings for PostgreSQL --- README | 4 ++-- local_settings.py.example | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README b/README index 497f4fe9..6f9075ac 100644 --- a/README +++ b/README @@ -56,8 +56,8 @@ for your install. (parabolweb-env) $ pip install -r requirements.txt After that you will need to install a database engine for python. - This means `MySQL-python==1.2.3`, `pysqlite` or whatever the - package is for PostgreSQL. Eg: + This means `MySQL-python==1.2.3`, `pysqlite` or `psycopg2` for PostgreSQL. + Eg: (parabolweb-env) $ pip install MySQL-python==1.2.3 You may also want to install memcached diff --git a/local_settings.py.example b/local_settings.py.example index 4ad87a36..b5883720 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -27,6 +27,19 @@ DATABASES = { }, } +## PostgreSQL Database settings +#DATABASES = { +# 'default': { +# 'ENGINE' : 'django.db.backends.postgresql_psycopg2', +# 'NAME' : 'parabola', +# 'USER' : 'parabola', +# 'PASSWORD': 'parabola', +# 'HOST' : '', +# 'PORT' : '', +# 'OPTIONS' : {}, +# }, +#} + ## sqlite3 Database settings #DATABASES = { # 'default': { -- cgit v1.2.3-54-g00ecf