Create views and templates in Django

Intermediate
Student
Developer
Azure
Azure App Service

As with every web framework, Django has a templating engine for creating dynamic HTML. The information that the user wants to access is created by this engine and presented through views. We'll explore how the engine works and the process of creating views in Django.

Learning objectives

In this module, you will:

  • Work with views
  • Use template variables and tags
  • Add dynamic data to Django templates
  • Use template inheritance

Prerequisites

  • Software:
    • Visual Studio Code
    • Git
  • Coding skills:
    • Understanding of HTML and CSS
    • Basic understanding of Django
    • Basic understanding of relational databases
    • Intermediate-level knowledge of Python, including:
      • Package management
      • Virtual environments
      • Inheritance