August 2016
Beginner to intermediate
717 pages
15h 24m
English
Migrations help you to confidently make changes to your models. Introduced in Django 1.7, migrations are an essential and easy-to-use parts of a development workflow.
The new workflow is essentially as follows:
python manage.py makemigrations <app_label>
app/migrations folder.in the same (development) environment:
python manage.py migrate <app_label>
This will apply the model changes to the database. Sometimes, questions are asked to handle the default values, renaming, and so on.
Read now
Unlock full access