From 8e481143fc20262e40b7e2dcaededf957a90c8f9 Mon Sep 17 00:00:00 2001 From: Czw <459749926@qq.com> Date: Tue, 10 Oct 2023 18:46:19 +0800 Subject: [PATCH] feat: update --- tools/create_configs.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/create_configs.py b/tools/create_configs.py index a2d885f..b88a2d7 100644 --- a/tools/create_configs.py +++ b/tools/create_configs.py @@ -64,7 +64,6 @@ from pathlib import Path # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True - """ database_type = input('配置数据库: (sqlite: 0, mysql: 1)\n') @@ -113,7 +112,16 @@ SMS_SDK_APP_ID = '' TEMPLATE_ID = '' SIGN_NAME = '' REGION = '' + """ + + file_content += f""" +# 系统接口 + +CRM_URL = None + +""" + with open(BASE_DIR / 'configs/django.py', 'w') as file: file.write(file_content)