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

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

Β·

1 min read

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

Β