Metadata-Version: 2.1
Name: django-fast-migrations
Version: 0.1.0
Summary: 
Home-page: UNKNOWN
License: MIT
Author: Andreu Vallbona
Author-email: avallbona@apsl.net
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: django (>=1.8)
Description-Content-Type: text/markdown

[![Downloads](https://pepy.tech/badge/django-fast-migrations)](https://pepy.tech/project/django-fast-migrations)

# 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.


