Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mercurial Ignore File for Django (Python) Projects
# glob syntax
syntax: glob
# Temp files
*.bak
*.orig
*.pyc
*~
# Nodejs
node_modules/*
# Django
media/*
static_files/*
# Builds
build/*
# IDEs
*.log*
*.nja
*.sublime-*
*.~*
.project
.pydevproject
.settings/*
# DBs
*.dat
*.db
*.db-journal
*.sqlite
*.sqlite3
# git
.git/*
.gitignore
.svn
# switch to regexp syntax.
syntax: regexp
settings/[a-zA-Z0-9]+.py$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment