mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Update db settings for new database config format
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user