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.

Files for django-18-fast-migrations, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_18_fast_migrations-0.1.1-py2.py3-none-any.whl (7.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page