πŸ“Š Django
Q. Which template tag is used for looping in Django templates?
  • (A) {% while %}
  • (B) {% repeat %}
  • (C) {% loop %}
  • (D) {% for %}
πŸ’¬ Discuss
βœ… Correct Answer: (D) {% for %}

Explanation: `{% for item in list %}` is the correct syntax for loops in Django templates.

Explanation by: Mr. Dubey
`{% for item in list %}` is the correct syntax for loops in Django templates.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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