Search⌘ K

The Django Architecture

Explore the core architecture of Django including the Model-View-Template pattern and understand how Django's built-in tools support rapid web development. Discover the importance of Django REST Framework for building APIs that serve various client applications across technologies.

Django is an advanced web framework that was first released in 2005. It is written in Python and makes use of the **Model-View-Controller (MVC) **architectural pattern. This pattern is commonly defined as follows:

  • Model: Corresponds to all the data-related logic. It’s deeply connected to the database because it provides the shape of the data but also methods and functions for Create, Read, Update, and Delete (CRUD) operations.

  • View: Handles the UI logic of the application.

  • Controller: Represents a ...