S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which template tag is used to iterate over a list?

  • (A) loop
  • (B) each
  • (C) for
  • (D) repeat
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
The for tag is used to loop through items in a list in Django templates.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.