Django MVT (Model-View-Template) ఆర్కిటెక్చర్ను అనుసరిస్తుంది — ఇది క్లాసిక్ MVC నమూనার వైవిధ్యం. ఇది అప్లికేషన్ను మూడు పొరలుగా విభజిస్తుంది: Models (డేటా), Views (లాజిక్), మరియు Templates (ప్రెజెంటేషన్). పొరలను అర్థం చేసుకోవడం ప్రతి కోడ్ భాగం ఎక్కడ ఉండాలో స్పష్టం చేస్తుంది.
మూడు పొరలు
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
