# ---- Python ---- __pycache__/ *.py[cod] *$py.class *.egg-info/ .eggs/ .Python build/ dist/ pip-wheel-metadata/ # ---- Django / Wagtail ---- *.sqlite3 *.sqlite3-journal .env .env.* !.env.example /media/ /staticfiles/ /static/ # ---- 虚拟环境 ---- .venv/ venv/ env/ ENV/ # ---- 测试 / 覆盖率 ---- .pytest_cache/ .coverage .coverage.* htmlcov/ .tox/ .mypy_cache/ .ruff_cache/ # ---- 日志 / 本地临时文件 ---- *.log *.tmp .git_commit_msg.txt pytest_output.txt pytest_full_output.txt # ---- IDE / 编辑器 ---- .vscode/ .idea/ *.swp *.swo # ---- 操作系统 ---- .DS_Store Thumbs.db desktop.ini # ---- 前端(node_modules/.next 以防万一在根目录出现,正常情况下由 frontend/ 独立仓库管理)---- node_modules/ .next/ # frontend 是独立的 Next.js 仓库(自带 .git),不纳入后端仓库版本控制 /frontend/