#3888: Allow {# comment #} tag to be multiline
--------------------------------------+-------------------------------------
Reporter: tonnzor | Owner: adrian
Status: closed | Milestone:
Component: Template system | Version: SVN
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by Cerin):
I really wish the devs would re-consider their stance on this issue. No
other templating language has such an unnecessarily verbose multi-line
comment notation. Python allows multi-line comments with 6 characters
(""""""), C with 4 (/**/), HTML with 7 (<!---->)). The fact that Django's
is a whooping 29 characters ({% comment %}{% endcomment %}) seems quite
unreasonable. If the logic for doing so is to maintain the logical
consistency of the tag notation, then the tag notation is broken and
should be fixed. Changing the single-line notation to support multiple
lines would save a lot of unnecessary typing.
--
Ticket URL: <http://code.djangoproject.com/ticket/3888#comment:13>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.