Use generic views in Django

Intermediate
Student
Developer
Azure
Azure App Service

Because Django was designed for data-driven applications, it includes numerous built-in utilities to streamline the amount of code needed. One key area where Django makes a developer's life easier is by providing generic views, which are prebuilt with all the necessary code to perform core operations like displaying and editing data. We'll see how we can use generic views to greatly reduce the amount of code required.

Learning objectives

In this module, you'll learn how to:

  • Use generic views.
  • Create Django forms.
  • Use the django-crispy-forms library.

Prerequisites