摘要: import os import sys BASE_DIR = os.path.dirname(__file__) sys.path.append(BASE_DIR) os.environ.setdefault('xxx', 'conf.settings') # 将自定的setting文件以键值对的 阅读全文
posted @ 2019-07-31 15:32 胖啊 阅读(148) 评论(0) 推荐(0) 编辑