settings_pro

This commit is contained in:
caoqianming 2020-06-03 14:27:59 +08:00
parent 8098170b0e
commit 9acbc74930
2 changed files with 3 additions and 7 deletions

View File

@ -2,5 +2,5 @@
ENV = 'production' ENV = 'production'
# base api # base api
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = 'http://121.36.23.77:8035'

View File

@ -2,11 +2,7 @@ from .settings import *
DEBUG = False DEBUG = False
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'db', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'USER': 'postgres',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '5432',
} }
} }