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.
Django Views
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.