django_18_fast_migrations
Fast migrations from Django 1.10 backported into Django 1.8
Usage
Install django_18_fast_migrations:
pip install django_18_fast_migrations
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_18_fast_migrations',
...
)
Done. Your migrations will now run faster.
Features
- Nothing visible, except the time it takes migrations to run.
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Or:
(myenv) $ cd $SOURCE_ROOT (myenv) $ python tests/django_runtests.py
Credits
The changes in Django's migrations code which made this happen were mostly made by Markus Holtermann and Simon Charette, of the Django project. Of course, the Django project and in particular migrations have enjoyed many contributors over the years.
Our contribution here is just to package this code for use in Django 1.8.
This work was partly supported by Matific.
Tools used in rendering this package: