summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Krampf <johannes.krampf@gmail.com>2011-12-02 20:11:03 +0100
committerJohannes Krampf <johannes.krampf@gmail.com>2011-12-02 20:11:03 +0100
commit4b819c267d6973e634e06f599b5d64cec26cfd95 (patch)
tree9123279015c9dad20e2b4580fac7988bf80070b9
parent8ceb83e52897c1c0bccc6322cffb0e864664afd1 (diff)
Add database settings for PostgreSQL
-rw-r--r--README4
-rw-r--r--local_settings.py.example13
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': {