django-fast-migrations-0.1.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-fast-migrations-0.1.0 |
| نام | django-fast-migrations |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | ['Andreu Vallbona'] |
| ایمیل نگهدارنده | ['avallbona@apsl.net'] |
| نویسنده | Andreu Vallbona |
| ایمیل نویسنده | avallbona@apsl.net |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/django-fast-migrations/ |
| مجوز | MIT |
[](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.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.8 | django |
نحوه نصب
نصب پکیج whl django-fast-migrations-0.1.0:
pip install django-fast-migrations-0.1.0.whl
نصب پکیج tar.gz django-fast-migrations-0.1.0:
pip install django-fast-migrations-0.1.0.tar.gz