Home »
Python »
Django MCQs
Which Django keyword is used to send variables into the template?
28. Which Django keyword is used to send variables into the template?
- send
- go
- export
- with
Answer: D) with
Explanation:
You can use the with keyword to send variables into the template. Consider the below-given example –
{% include "students.html" with me="Alvin Alex" class="B.Tech First Year" %}