Tsallaka zuwa abun ciki
Justice Tech School

The MVT Pattern

Django uses Model, View and Template.

Example
# Model: data in models.py
# View: logic in views.py
# Template: HTML in templates/

Exercise

View role.

The  holds logic

Quiz Test

What does the template do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.