Skip to main content

Fast migrations from Django 1.10 backported into Django 1.8

Project description

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:

History

0.1.1 (2017-06-01)

  • Fixed a packaging error.

  • Allowed package to be used on Django 1.9.x.

0.1.0 (2017-04-06)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_18_fast_migrations-0.1.1-py2.py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page