Work with the Django admin site

Intermediate
Student
Developer
Azure
Azure App Service

Probably the most popular feature of the Python framework Django is its built-in admin site, which allows internal users to manage data without having to create a special utility. We'll explore how to configure users to use this site and how to set up the site itself.

Learning objectives

By the end of this module, you'll be able to:

  • Enable the Django admin site.
  • Create a superuser.
  • Add app models and access data.
  • Set user permissions.

Prerequisites

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