August 2016
Beginner to intermediate
717 pages
15h 24m
English
It is not true that once you have created your database structure, it won't change in the future. As development happens iteratively, you can get updates on the business requirements in the development process and you will need to perform database schema changes along the way. With the Django migrations, you don't need to change the database tables and fields manually, as most of it is done automatically using the command-line interface.
Activate your virtual environment in the command-line tool.
To create the database migrations, take a look at the following steps:
demo_app app, you need to create an initial migration that will create the database tables for your app. ...Read now
Unlock full access