Tom Tobin wrote: > On 3/13/06, Kieran Holland <[EMAIL PROTECTED]> wrote: >> I don't like the idea of arbitrary content in template tags either but does >> your "definite no" also apply to this old idea: >> >> {% endif %}{# endif start_process #} >> >> I think comments should be encouraged in templates and the >> comment/endcomment tag set is almost prohibitively verbose at times. HTML >> has special tags for comments too, so I don't think it is too programmerish. > > +1 -- I liked this idea when it first came up, and I still like it. > :-p Comment syntax shouldn't be judged by the same rules as other > programmatic constructs; comments should be easy to throw down (and > remove) rapidly in any text editor, and I can't help but think that > the current comment syntax lends itself more towards use in an IDE > than vim, emacs, or [insert your favorite editor].
Agreed, current syntax is too wordy (thus, I'm not using it). Another option would be to use something closer to HTML comments, as all designers should recognize HTML comments, so something like: {<!-- Django Comment -->} or: <!--# Django Comment #--> Themes on the pattern of the first example. {< This is a comment >} or: {! Comment !} I think I'm +1 on this last one. It evokes the aesthetic of both the Django template tags and an HTML comment. It is also very readable and less programming-language looking and blocky than {# #}. -- --Max Battcher-- http://www.worldmaker.net/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---