No project description provided
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5035053831043a9bd1f87a9fe5fc0bf7c735e3db6b79c11c55975995749b012b |
|
MD5 | bff1e2bae295366e9a2d6f5e5d9b70ae |
|
BLAKE2b-256 | 09c0fb3658605ad5932bf7c8f9559550c2781796f09f6b233c6bdbd0d6fbe46f |
File details
Details for the file django_fast_migrations-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_fast_migrations-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.11.5 CPython/2.7.15rc1 Linux/4.15.18-041518-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2e7b2793e8304374b2e92ea566a2c555bf47b8d0233a4735fbf7dfdb854bfec |
|
MD5 | 30af9aceceaa4b195c7b0a2578dcb708 |
|
BLAKE2b-256 | 4da612e233cafa8f723b752612f2e40ffcbf019cc8f0046e6bcf2256dbf11314 |