X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fsettings.py;h=7523099374cc09922008bc3cb3ddc3f81b101842;hb=55ef92901f11ce5497eb55df3064a5a74821a1e7;hp=4432f3f04d7cbdf953e21d70bc87ba5b78d3cfa4;hpb=017f73b059aadfce30ee29d2aceeab92739105a6;p=patchwork diff --git a/apps/settings.py b/apps/settings.py index 4432f3f..7523099 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -10,12 +10,12 @@ ADMINS = ( MANAGERS = ADMINS -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. -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': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'patchwork', + }, +} # 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