mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
25 lines
584 B
Smarty
25 lines
584 B
Smarty
import os
|
|
from test_sqlite import * # NOQA
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
"USER": "user",
|
|
"NAME": "django",
|
|
"PASSWORD": "postgres",
|
|
"HOST": "localhost",
|
|
"PORT": 5432,
|
|
"OPTIONS": {
|
|
"server_side_binding": os.getenv("SERVER_SIDE_BINDING") == "1",
|
|
},
|
|
},
|
|
"other": {
|
|
"ENGINE": "django.db.backends.postgresql",
|
|
"USER": "user",
|
|
"NAME": "django2",
|
|
"PASSWORD": "postgres",
|
|
"HOST": "localhost",
|
|
"PORT": 5432,
|
|
},
|
|
}
|