# Django
*.log
*.pot
*.pyc
__pycache__/
local_settings.py
db.sqlite3
db.sqlite3-journal
media/

# Django 迁移文件
*/migrations/__pycache__/
*/migrations/*.pyc

# Django 静态文件
staticfiles/
static/

# Python
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Python 虚拟环境
venv/
env/
ENV/
env.bak/
venv.bak/

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock

# 前端构建文件
dist/
build/
*.map

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# macOS
.DS_Store
.AppleDouble
.LSOverride

# Windows
Thumbs.db
ehthumbs.db
*.stackdump

# 大文件和媒体文件
*.mp4
*.mp3
*.avi
*.mov
*.wmv
*.flv
*.mkv
*.wav
*.flac
*.aac
*.wma
*.m4a
*.m4v
*.3gp
*.3g2
*.asf
*.rm
*.rmVB
*.vob
*.mpg
*.mpeg
*.m2v
*.m4v
*.svi
*.3gpp
*.3gpp2

# 图片文件（保留必要的，忽略大图片）
*.psd
*.ai
*.eps
*.raw
*.cr2
*.nef
*.orf
*.sr2
*.tiff
*.tif
*.bmp
*.ico
# 保留 PNG、JPG、JPEG、SVG 用于网站显示
# *.png
# *.jpg
# *.jpeg
# *.svg

# 3D模型文件（大文件）
*.obj
*.mtl
*.fbx
*.dae
*.3ds
*.max
*.ma
*.mb
*.blend
*.c4d
*.lwo
*.lws
*.skp
*.x3d
*.x3db
*.x3dv
*.wrl
*.wrz
*.ply
*.stl
*.stp
*.step
*.igs
*.iges

# 压缩文件
*.zip
*.rar
*.7z
*.tar
*.gz
*.bz2
*.xz
*.tar.gz
*.tar.bz2
*.tar.xz
*.tgz
*.tbz2
*.txz

# 文档文件（大文件）
*.pdf
*.doc
*.docx
*.xls
*.xlsx
*.ppt
*.pptx
*.odt
*.ods
*.odp

# 数据库文件
*.sql
*.sqlite
*.sqlite3
*.db
*.mdb
*.accdb

# 备份文件
*.bak
*.backup
*.old
*.orig
*.tmp
*.temp
*.swp
*.swo

# 日志文件
*.log
*.log.*
logs/

# 缓存文件
.cache/
*.cache
*.tmp

# 配置文件（敏感信息）
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem
*.p12

# Docker
.dockerignore

# Git
.git/

# 其他大文件
*.iso
*.dmg
*.img
*.vmdk
*.vdi
*.vhd
*.vhdx
*.qcow
*.qcow2
*.ova
*.ovf

# 前端特定忽略
frontend/dist/
frontend/build/
frontend/node_modules/

# 后端特定忽略
backend/db.sqlite3
backend/__pycache__/
backend/*.pyc
backend/media/
backend/static/
backend/venv/
backend/env/

# 项目特定的大文件路径
frontend/public/3d*/
frontend/public/*.obj
frontend/public/*.mtl
frontend/dist/3d*/
frontend/dist/*.obj
frontend/dist/*.mtl