Skip to main content

No project description provided

Project description

Downloads

Django-Fast-Migrations

Command to speed up the application of migrations in a Django project.

Installation

Install using pip:

pip install django-fast-migrations

Then add 'django_fast_migrations' to your INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    'django_fast_migrations',
]

Usage

How to execute command:

./manage.py migrate_by_app

The previous command only checks if there are applications with pending migrations.

To execute the pending migrations we have to call the command:

./manage.py migrate_by_app

When executed without parameters it only checks if there are applications with pending migrations

Possible arguments:

  • --execute: If pending migrations are found then execute them.
  • --database: Nominates a database to synchronize. Defaults to the "default" database.

Project details


Download files

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

Source Distribution

django-fast-migrations-0.1.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

django_fast_migrations-0.1.0-py2.py3-none-any.whl (9.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