Skip to content

这是一个 现代化 Django 项目生成器模板 ,基于 Cookiecutter 构建,可以一键生成生产级别的 Django 项目脚手架。#6513

Closed
chenziqi66 wants to merge 2 commits intocookiecutter:mainfrom
chenziqi66:main
Closed

这是一个 现代化 Django 项目生成器模板 ,基于 Cookiecutter 构建,可以一键生成生产级别的 Django 项目脚手架。#6513
chenziqi66 wants to merge 2 commits intocookiecutter:mainfrom
chenziqi66:main

Conversation

@chenziqi66
Copy link
Copy Markdown

我发现了下面的几个bug,请你帮我修正
Bug 1: Jinja 模板变量名空格错误
Bug 2: 类型错误 - NamedTuple 不支持 len() 操作
Bug 3: 文件/目录删除前缺少存在性检查
Bug 4: 大小写比较不一致
Bug 5: 死代码 - 永远不会执行的条件分支
Bug 6: 过度宽泛的异常捕获

约束:

  1. 修复前必须先复现bug
  2. 所有现有测试必须全部通过
  3. 必须为该bug新增专门的测试用例 4.只修改与bug直接相关的代码

Description

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

chenziqi66 and others added 2 commits April 15, 2026 19:43
我发现了下面的几个bug,请你帮我修正
Bug 1: Jinja 模板变量名空格错误
Bug 2: 类型错误 - NamedTuple 不支持 len() 操作
Bug 3: 文件/目录删除前缺少存在性检查
Bug 4: 大小写比较不一致
Bug 5: 死代码 - 永远不会执行的条件分支
Bug 6: 过度宽泛的异常捕获

约束:
1. 修复前必须先复现bug
2. 所有现有测试必须全部通过
3. 必须为该bug新增专门的测试用例
4.只修改与bug直接相关的代码
@chenziqi66 chenziqi66 closed this by deleting the head repository Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant