safesite/mysite/settings_dev.py

24 lines
608 B
Python

from .settings import *
DEBUG=True
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':'39.105.200.14',
'PORT':'5432',
# 'CONN_MAX_AGE': 60,
},
'OPTIONS': {
'isolation_level': psycopg2.extensions.ISOLATION_LEVEL_SERIALIZABLE,
},
}
APPID_MP = 'wx8cc62edbfed029b9'
APPSECRET_MP= 'eb15364f89139b9ba9453e4b7c8c12e0'