Skip to main content

Command Palette

Search for a command to run...

The process flow of Model-Template-View design pattern in Django

Published
•1 min read
The process flow of Model-Template-View design pattern in Django

1. Model

The Model retrieves data from the database, which is requested by the;

2. View

which applies any business logic and formatting to the model data and then sends the packaged and formatted data to the;

3. Template

which then renders the data with any display logic necessary.

Model-View-Controller (MVC) Explained – With Legos : https://realpython.com/the-model-view-controller-mvc-paradigm-summarized-with-legos/

Learn Django : Programming for beginners

Reference:

Build your first website with Python and Django: Build and Deploy a website with Python & Django

More from this blog

F

Freelance Full-Stack Developer | Django + React | Shopify, WordPress & Automation | I Build Web Experiences That Convert

92 posts

Freelance Full-Stack Developer | Django + React | Shopify, WordPress & Automation | I Build Web Experiences That Convert