It’s very important to understand the folders and files that make up a Django project. In this lesson, you’re going to take a look at migrations and SQL databases.
projects folder, a folder called
migrations has been generated. If you run the development server, you’ll see that there are migrations that haven’t been applied.
The database isn’t currently set up, and that’s what migrations do. They take the code you have and apply it to create or change the database that you’re working with.
Comments & Discussion
Become a Member to join the conversation.