#22753: (With patch) Documented latent feature of template tag {% comment %} .
Add
meta notes.
--------------------------------------+--------------------------
Reporter: brycenesbitt | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords: all-versions
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
--------------------------------------+--------------------------
The {% comment %} tag has a nice feature, and has since the start, but
it's little known.
This patch documents the ability to add a meta note to a comment:
{{{#!python
{% comment 'disabled for performance reasons, see bug #121' %}
code...
{% endcomment %}
}}}
See https://github.com/django/django/pull/2753
--
Ticket URL: <https://code.djangoproject.com/ticket/22753>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.f6d84f1e190b8524c23e797339e9f414%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.