Q. Which tag is used to comment code in Django templates?

  • (A) {# #}
  • (B) {% comment %}
  • (C) ##
  • (D) {{-- --}}
πŸ’¬ Discuss
βœ… Correct Answer: (A) {# #}
Explanation: Django template comments use the syntax {# comment #}.
Explanation by: Rakesh Yadav
Django template comments use the syntax {# comment #}.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
98%
Success Rate