# python2 **Repository Path**: xzsws/python2 ## Basic Information - **Project Name**: python2 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-20 - **Last Updated**: 2025-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 开发框架使用说明:https://bk.tencent.com/docs/markdown/ZH/PaaS/DevelopTools/BaseGuide/quickstart/python/python_preparations.md (在之前) 与实验一相同的配置步骤,将 requirements.txt 中 cryptography 修改为 43.0.3,可以复用实验一的环境 1. 将数据库配置从 dev.py 迁移到 local_settings.py,并配置 .gitignore 禁止上传 git 2. 别忘了使用 migrate 命令生成运行时需要的数据库 3. 解决 CORS 跨域问题:在 default.py 里配置,在 .env 里添加 CORS_ALLOWED_ORIGIN=http://dev.ce.bktencent.com:5000 (前端地址)