Django MVT (Model-View-Template) architecture-ஐ பின்பற்றுகிறது — இது classic MVC pattern-இன் மாறுபாடு. இது ஒரு application-ஐ மூன்று layers-ஆக பிரிக்கிறது: Models (data), Views (logic), மற்றும் Templates (presentation). Layers-ஐ புரிந்துகொள்வது ஒவ்வொரு code piece எங்கு சேர்ந்தது என்பதை தெளிவுபடுத்துகிறது.
மூன்று layers
Model → the DATA layer: defines structure & talks to the database (the ORM)
View → the LOGIC layer: processes requests, fetches data, returns responses
Template → the PRESENTATION layer: HTML with placeholders for dynamic data
