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.

Files for django-fast-migrations, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_fast_migrations-0.1.0-py2.py3-none-any.whl (9.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-fast-migrations-0.1.0.tar.gz (3.5 kB) File type Source Python version None 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