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 details)

Uploaded Python 2 Python 3

File details

Details for the file django_18_fast_migrations-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_18_fast_migrations-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1de513fa1d273cd23af78c6f065ed3ffb30a5eebdacf8733413ff02ed845d646
MD5 c1ab34b4be27aa384724abd9d2b02e17
BLAKE2b-256 089c1f4e0d15dae276b861e5102325b05c2a3bb4389a0a94514f3374effd3c38

See more details on using hashes here.

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