Skip to content

Instantly share code, notes, and snippets.

@flavianmissi
Created August 11, 2015 14:45
Show Gist options
  • Save flavianmissi/9ac0dd4e2becb89c49e8 to your computer and use it in GitHub Desktop.
Save flavianmissi/9ac0dd4e2becb89c49e8 to your computer and use it in GitHub Desktop.
Delete all migration files (but not __init__.py) from a Django project
find -E . -iregex '.*/[0-9].*\.py' #-delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment