A

Admin • 828.03K Points
Coach

Q. Which template tag is used for conditional logic?

  • (A) {% switch %}
  • (B) {% choose %}
  • (C) {% if %}
  • (D) {% where %}
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Django
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.