更新一些细节

This commit is contained in:
MarkusJoe
2022-04-05 17:56:46 +08:00
parent df203fe135
commit cbf311ba6a
6 files changed
+46 -51

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env python3
# -- coding:utf-8 --
# @Author: markushammered@gmail.com
# @Development Tool: PyCharm
# @Create Time: 2022/4/5
# @File Name: config.py
class Config:
JSON_SORT_KEYS = False
JSON_AS_ASCII = False
@staticmethod
def init_app(app):
pass
class DevelopmentConfig(Config):
DEBUG = True
class ProductionConfig(Config):
DEBUG = False
config = {
'development': DevelopmentConfig,
'production': ProductionConfig,
'default': ProductionConfig
}