I think that short template comments should allow multi-line comments
- it is much easier to use {# #} instead of {% comment %} {%
endcomment %}

Now short comments do not allow newlines in them, so following
template is invalid:

{# very long
many-lines
comment #}

It seems odd that this code do not work - you place both open and
close tags (not just an opening tag in the beginning of the line), but
it doesn't work.

Just imagine if following C code is invalid:

/* very long
many-lines
comment */

See also ticket #3888 (http://code.djangoproject.com/ticket/3888)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to