Vicente Garcia-Reyes

Vicente Garcia-Reyes

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

Subscribe to my newsletter and never miss my upcoming articles

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 : realpython.com/the-model-view-controller-mv..

Learn Django : Programming for beginners

Reference:

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

Β 
Share this

Impressum

Code snippets/words may be mine unless otherwise stated on each article.

Proudly part of