S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which template tag is used to perform conditional rendering?

  • (A) when
  • (B) if
  • (C) switch
  • (D) case
  • Correct Answer - Option(B)
  • Views: 15
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
The if tag is used for conditional rendering in Django templates.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.