Q&A
Ask and answer questions to make information more available to wider audiences.
Ernesto Bishop @bishopernesto   03, May 2023 12:00 AM
Django architecture
What does Django architecture look like?
answers 1
 
Answer 1
Armani Blodworth @blodwortharmani   05, May 2023 07:03 PM
Django architecture consists of:
Models - Describes the database schema and data structure
Views - Controls what a user sees. The view retrieves data from appropriate models, executes any calculations made, and passes it on to the template
Templates - Controls how the user sees the pages. It describes how the data received from the views need to be altered or formatted to display on the page
Controller - Made up of the Django framework and URL parsing