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

Programming Book For Beginners

Reference:

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

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.