Update db settings for new database config format

This commit is contained in:
Magnus Hagander
2013-05-25 14:11:55 -04:00
parent 0289cbd439
commit 5d608f1fe4

View File

@ -9,12 +9,12 @@ ADMINS = (
MANAGERS = ADMINS MANAGERS = ADMINS
DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASES={
DATABASE_NAME = '' # Or path to database file if using sqlite3. 'default': {
DATABASE_USER = '' # Not used with sqlite3. 'ENGINE': 'django.db.backends.postgresql_psycopg2',
DATABASE_PASSWORD = '' # Not used with sqlite3. 'NAME': 'pgweb',
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. }
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. }
# Local time zone for this installation. Choices can be found here: # Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name