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

Uploaded Source

Built Distribution

django_fast_migrations-0.1.0-py2.py3-none-any.whl (9.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-fast-migrations-0.1.0.tar.gz.

File metadata

  • Download URL: django-fast-migrations-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.11.5 CPython/2.7.15rc1 Linux/4.15.18-041518-generic

File hashes

Hashes for django-fast-migrations-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5035053831043a9bd1f87a9fe5fc0bf7c735e3db6b79c11c55975995749b012b
MD5 bff1e2bae295366e9a2d6f5e5d9b70ae
BLAKE2b-256 09c0fb3658605ad5932bf7c8f9559550c2781796f09f6b233c6bdbd0d6fbe46f

See more details on using hashes here.

File details

Details for the file django_fast_migrations-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_fast_migrations-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2e7b2793e8304374b2e92ea566a2c555bf47b8d0233a4735fbf7dfdb854bfec
MD5 30af9aceceaa4b195c7b0a2578dcb708
BLAKE2b-256 4da612e233cafa8f723b752612f2e40ffcbf019cc8f0046e6bcf2256dbf11314

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