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

πŸ‘οΈ
113
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate