What makes up Django architecture?


Django runs on MVC architecture. Following are the components that make up django architecture:

  • Models: Models elaborate back-end stuffs like database schema.(relationships)
  • Views: Views control what is to be shown to end-user.
  • Templates: Templates deal with formatting of view.
  • Controller: Takes entire control of Models.A MVC framework can be compared to a Cable TV with remote. A Television set is View(that interacts with end user), cable provider is model(that works in back-end) and Controller is remote that controls which channel to select and display it through view.


© 2017