Merge branch 'base' of https://github.com/caoqianming/django-vue-admin into base
This commit is contained in:
commit
59cf693115
|
@ -15,6 +15,7 @@ celerybeat-schedule.bak
|
||||||
celerybeat-schedule.dat
|
celerybeat-schedule.dat
|
||||||
celerybeat-schedule.dir
|
celerybeat-schedule.dir
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
|
apps.zip
|
||||||
server/conf.py
|
server/conf.py
|
||||||
server/conf.ini
|
server/conf.ini
|
||||||
server/conf*.json
|
server/conf*.json
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# 基本配置
|
# 基本配置
|
||||||
SECRET_KEY = 'xxxxxx'
|
SECRET_KEY = 'xxxxxx'
|
||||||
|
BASE_PROJECT_CODE = 'xxxxxx' # 一旦配置不要轻易改变
|
||||||
BASE_URL = 'http://127.0.0.1:8000'
|
BASE_URL = 'http://127.0.0.1:8000'
|
||||||
BASE_URL_IN = 'http://127.0.0.1:8000'
|
BASE_URL_IN = 'http://127.0.0.1:8000'
|
||||||
BASE_URL_OUT = 'http://127.0.0.1:8000'
|
BASE_URL_OUT = 'http://127.0.0.1:8000'
|
||||||
|
@ -13,6 +14,9 @@ EMAIL_USE_TLS = True
|
||||||
|
|
||||||
|
|
||||||
# 数据库配置
|
# 数据库配置
|
||||||
|
CACHE_LOCATION = "redis://127.0.0.1:6379/2"
|
||||||
|
CELERY_BROKER_URL = "redis://127.0.0.1:6379/3"
|
||||||
|
CELERY_TASK_DEFAULT_QUEUE = BASE_PROJECT_CODE
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
|
Loading…
Reference in New Issue