Django Squashmigrations Example

Example project for these talks:

Branches

  • django-settings-migrate (PR #4)

    Example using the MIGRATE = False approach to avoid running migrations in tests.

  • squashing-migrations (PR #2)

    Example of standard squashing migrations.

  • recreating-migrations (PR #3)

    Example of recreating migrations from scratch.

How to run the project

# clone / enable virtualenv, etc...
# ...
# then install requirements
pip install -r requirements.txt

# choose the branch you want to examine
# git checkout ...

# run and measure tests
time python manage.py test