September 2019
Beginner to intermediate
494 pages
13h
English
As mentioned before, each model will be associated with a database table, which needs to be implemented via migrations:
makemigrations library
(As you type in the command, notice the intelligent code-completion suggestions.) You should get the following output in the manage.py panel:
Tracking file by folder pattern: migrationsMigrations for 'library': library/migrations/0001_initial.py - Create model Author - Create model BookFollowing files were affected [...]/mysite/library/migrations/0001_initial.py ...
Read now
Unlock full access