Initial commit
This commit is contained in:
12
app/settings.py
Normal file
12
app/settings.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# 数据库配置
|
||||
DATABASE_URL = 'postgresql://ABM_DB_user:4FynWQfy0AEotP1dgyimrGF7PSDJh1nDYnDwg4hN@122.205.95.244:5433/ABM_DB'
|
||||
|
||||
# API配置
|
||||
API_V1_STR = "/api/v1"
|
||||
|
||||
# 白名单验证相关配置
|
||||
WHITELIST_TABLE = "submit_user"
|
||||
WHITELIST_COLUMN = "user_email"
|
||||
|
||||
# 操作记录相关配置
|
||||
SUBMIT_RECORD_TABLE = "submit_record"
|
||||
Reference in New Issue
Block a user