πŸ“Š Django
Q. Which template tag is used for conditional logic?
  • (A) {% switch %}
  • (B) {% choose %}
  • (C) {% if %}
  • (D) {% where %}
πŸ’¬ Discuss
βœ… Correct Answer: (C) {% if %}

Explanation: `{% if %}` is used to apply conditional logic in templates.

Explanation by: Mr. Dubey
`{% if %}` is used to apply conditional logic in templates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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