πŸ“Š Django
Q. Which of these is a valid way to include another template?
  • (A) {% extend 'base.html' %}
  • (B) {% inherit 'base.html' %}
  • (C) {% include 'base.html' %}
  • (D) {% use 'base.html' %}
πŸ’¬ Discuss
βœ… Correct Answer: (C) {% include 'base.html' %}

Explanation: include tag is used to insert another template inside the current one.

Explanation by: Mr. Dubey
include tag is used to insert another template inside the current one.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate