summaryrefslogtreecommitdiff
path: root/chimere/settings.py.example
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/settings.py.example')
-rw-r--r--chimere/settings.py.example16
1 files changed, 10 insertions, 6 deletions
diff --git a/chimere/settings.py.example b/chimere/settings.py.example
index c0f6cb6..edfaa2e 100644
--- a/chimere/settings.py.example
+++ b/chimere/settings.py.example
@@ -49,12 +49,16 @@ ADMINS = (
MANAGERS = ADMINS
-DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
-DATABASE_NAME = 'ratatouille' # Or path to database file if using sqlite3.
-DATABASE_USER = 'ratatouille' # Not used with sqlite3.
-DATABASE_PASSWORD = 'wiki' # Not used with sqlite3.
-DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
-DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
+DATABASES = {
+ 'default': {
+ 'NAME': 'ratatouille',
+ 'ENGINE': 'django.contrib.gis.db.backends.postgis',
+ 'HOST': 'localhost',
+ 'PORT': '5432',
+ 'USER': 'ratatouille',
+ 'PASSWORD': 'wiki',
+ },
+}
# Local time zone for this installation. Choices can be found here:
# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE