Maru Kun

75%
Flag icon
Any time we modify a database, we say we’re migrating the database. Issuing the migrate command for the first time tells Django to make sure the database matches the current state of the project. The first time we run this command in a new project using SQLite (more about SQLite in a moment), Django will create a new database for us. At ➊ Django reports that it will make the database tables needed to store the information we’ll use in this project (Synchronize unmigrated apps), and then make sure the database structure matches the current code (Apply all migrations).
Python Crash Course: A Hands-On, Project-Based Introduction to Programming
Rate this book
Clear rating