Backend Development
Django
Subjective
Oct 03, 2025
Explain the MVT (Model-View-Template) architecture in Django.
Detailed Explanation
MVT is Django's architectural pattern:
• Model - Defines data structure and database schema, handles data logic
• View - Contains business logic, processes requests and returns responses
• Template - Handles presentation layer, defines how data is displayed to users
Unlike MVC, Django's "View" acts as the controller, and "Template" is the view.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts