As answer by Miles, {% comment %}...{% endcomment %}
is used for multi-line comments, but you can also comment out text on the same line like this:
{# some text #}
More Related Contents:
- Django TemplateDoesNotExist?
- How can I get the domain name of my site within a Django template?
- NoReverseMatch with keyword argument uidb64 with Django 2.0
- How to get the domain name of my site within a Django template?
- Django MEDIA_URL and MEDIA_ROOT
- Iterate over model instance field names and values in template
- How to access a dictionary element in a Django template?
- Django – Login with Email
- Performing a getattr() style lookup in a django template
- Unicodedecodeerror with runserver
- How to compare dates in Django templates
- how to iterate through dictionary in a dictionary in django template?
- Iterating through two lists in Django templates
- django template system, calling a function inside a model
- Any way to make {% extends ‘…’ %} conditional? – Django
- Django: Display Choice Value
- How do I perform query filtering in django templates
- is there a way to loop over two lists simultaneously in django?
- Django values_list vs values
- What is the path that Django uses for locating and loading templates?
- Django Admin nested inline
- How to access the user profile in a Django template?
- Class Based Views VS Function Based Views
- How to set and get session variable in django?
- Resize fields in Django Admin
- Django Admin: Using a custom widget for only one model field
- Django viewset has not attribute ‘get_extra_actions’
- Django foreign key relation in template
- How to redirect from a view to another view In Django
- How to properly use the “choices” field option in Django