Пример .gitignore файла для Django

# .gitignore
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
db.sqlite3
# Sphinx documentation
docs/_build/
# IPython
profile_default/
ipython_config.py
# Environments
env/
# Media and Static directories
/media/
!/media/.gitkeep
/static/
!/static/.gitkeep
# Secrets
secrets.json