Django SyntaxLesson 33Free preview
Django Comment
This lesson is part of Django · All levels
Summary
Comment is written with {#... #} for one-line comment or {% comment %}... {% endcomment %} for block. The comments don't follow the final HTML rendering. It helps to make notes without affecting the look.
Key points
- One line of commentary using {#... #}
- Block comment using {% comment %}
- Not showing up in the rendering results
- Useful for noting templates
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.