Welcome back, everyone, to this section of the course on Django models and databases.
Let's quickly revisit our simple model of how jingle works.
Remember, we want to eventually connect a user browser to some sort of data that's stored in a database.
And we've already learned about templates and organizing views along with URL routing and maybe any
additional application logic that you can connect to your view with a Python script.
What this section is going to focus on is the connection to the database, and this is where Django
really shines.
It has this ability to use models that is a specific Python class that's imported from the Django library,
which allows us to directly interact with the database.
So the fact that jingo models allow us to interact with the database means we don't need to worry about
having to remember or write complex sequel based queries.
Instead, we're simply going to work with Python and Django to have key interactions of a database typically
known as crud, which is create, read, update and delete.
So that means we can create new tables and information in a database.
We can read that information to serve it back to the users.
If the user wants to update the information, we can go back and update it, and then we can also remove
or delete any information.
So again, in this section will be exploring how to store, retrieve, update and delete data from a
school based database using jingles built in model tools and functionality.
So we'll talk about things like a general overview of databases, including school versus no school.
We'll talk about models and databases and how they actually interact and connect, and then we'll jump
over to actually coding this out.
That means creating models, creating fields, how to run migrations had actually performed the data
interactions we just talked about create, read, update, delete and then as well as database and template
interaction.
How do we actually get that information all the way forward to the template so the user can interact
with it themselves?
All right, let's get started.
I'll see you at the next lecture.