24 lines
605 B
Python
24 lines
605 B
Python
from .settings import *
|
|
|
|
DEBUG=False
|
|
|
|
DATABASES = {
|
|
# 'default': {
|
|
# 'ENGINE': 'django.db.backends.sqlite3',
|
|
# 'NAME': os.path.join(BASE_DIR, 'safe.db'),
|
|
# },
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql',
|
|
'NAME': 'safedb',
|
|
'USER':'postgres',
|
|
'PASSWORD':'cbma1234',
|
|
'HOST':'localhost',
|
|
'PORT':'5432',
|
|
# 'CONN_MAX_AGE': 60,
|
|
},
|
|
'OPTIONS': {
|
|
'isolation_level': psycopg2.extensions.ISOLATION_LEVEL_SERIALIZABLE,
|
|
},
|
|
}
|
|
APPID_MP = 'wx8cc62edbfed029b9'
|
|
APPSECRET_MP= 'eb15364f89139b9ba9453e4b7c8c12e0' |