In this course, you will learn how Django communicates with a database through model objects. You will explore Object-Relational Mapping (ORM) for database access and how Django models implement this pattern. We will review the Object-Oriented (OO) pattern in Python. You will learn basic Structured Query Language (SQL) and database modeling, including one-to-many and many-to-many relationships and how they work in both the SQL and Django models. You will learn how to use the Django console and scripts to work with your application objects interactively.
This section explores how we define models in Django and then we build the data models and explore the administration interface for our application. Data models are how Django interacts with the underlying database to store and retrieve data.
Views are the aspect of Django applications that produce the web pages that are shown to our users. Views are one of several core elements of Django applications.
Django Generic Views
We review Python Object Orientation and look at the generic views capability within Django. We use generic views by extending Django classes to make a new view class.
Forms in HTTP and HTML
We cover how GET and POST work, how forms are constructed from HTML, how we protect our applications against Cross-Site Scripting Forgery (CSRF), and how we handle browser refreshes after POST.
Start your review of Building Web Applications in Django
I took this course as the second one on the series of the specialization Django for Everybody.
I like the course format: The lectures are engaging and the concepts are well explained, however I had to go back on the video a couple of times because the concepts became a little too complex for me.
I like the office hours at the end of each week because they relax the tone of the general course.
It is very interesting to be able to run a program in Python from a web server, because it opens a wide universe of applications.
I'm trying to learn as much of python as I can and I'm finding the Michigan courses by Dr. Chuck really engaging and eye opening.