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.
Metadata
Release files for django-fast-migrations 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-fast-migrations-0.1.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_fast_migrations-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 13.2 kB
Release files / django-fast-migrations-0.1.0.tar.gz
| Download URL | django-fast-migrations-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5035053831043a9bd1f87a9fe5fc0bf7c735e3db6b79c11c55975995749b012b
|
|
BLAKE2b-256 checksum How to use checksums |
09c0fb3658605ad5932bf7c8f9559550c2781796f09f6b233c6bdbd0d6fbe46f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/2.7.15rc1 Linux/4.15.18-041518-generic
|
Release files / django_fast_migrations-0.1.0-py2.py3-none-any.whl
| Download URL | django_fast_migrations-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c2e7b2793e8304374b2e92ea566a2c555bf47b8d0233a4735fbf7dfdb854bfec
|
|
BLAKE2b-256 checksum How to use checksums |
4da612e233cafa8f723b752612f2e40ffcbf019cc8f0046e6bcf2256dbf11314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/2.7.15rc1 Linux/4.15.18-041518-generic
|