Vicente Antonio G. Reyes
Vicente Antonio G. Reyes

Follow

Vicente Antonio G. Reyes

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

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

Vicente Antonio G. Reyes's photo
Vicente Antonio G. Reyes
·Apr 23, 2019·

1 min read

Play this article

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