X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fsettings.py;fp=apps%2Fsettings.py;h=24d376259dff926ecab7ee9ebfca3ef670b7a19b;hb=85e391e7781464514b9df6e7b6936515c3db6c46;hp=f56da70ea02b871ce84dc816283c430cbf3a3328;hpb=8d22361203333811fb75c03442ea65bff7531891;p=patchwork diff --git a/apps/settings.py b/apps/settings.py index f56da70..24d3762 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