# --- Python ---
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg
*.egg-info/
.eggs/
dist/
build/
pip-log.txt
pip-delete-this-directory.txt

# Virtual environments
.venv/
venv/
ENV/
env/
.python-version

# --- Django ---
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Collected static (if STATIC_ROOT differs from source)
staticfiles/
collected_static/

# Compiled translations (generate via compilemessages)
*.mo

# --- Environment & secrets ---
.env
.env.*
!.env.example
*.pem
*.key

# --- IDE / Editor ---
.idea/
.vscode/
*.sublime-project
*.sublime-workspace
*.swp
*.swo
*~

# --- OS ---
.DS_Store
.DS_Store?
Thumbs.db
ehthumbs.db
desktop.ini

# --- Cursor / local workflow ---
.cursor/
.work/

# --- Test & coverage ---
.coverage
.coverage.*
htmlcov/
.tox/
.nox/
.pytest_cache/
.mypy_cache/
.dmypy.json
dmypy.json

# --- Docker (local overrides & volumes) ---
docker-compose.override.yml
docker-compose.local.yml
*.volume/

# --- User uploads (MEDIA_ROOT) ---
# Keep template docs under upload/doc/
upload/data/*
!upload/data/.gitkeep
upload/inventory/*
!upload/inventory/.gitkeep
upload/project/*
!upload/project/.gitkeep
upload/offer sheet/*
!upload/offer sheet/.gitkeep

# --- Misc ---
*.bak
*.tmp
*.orig
.work/