On Monday 13 March 2006 22:06, Kieran Holland 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 from me too.  Just the other day I was about to put a comment in a 
template, but when I thought of {% comment %} blah {% endcomment %} I 
couldn't be bothered, especially as it actually makes the code *less* 
clear, because it includes so much line noise. {# blah #} seems quite 
nice to me.

Luke


-- 
"Whoever calls on the name of the LORD will be saved." (Romans 10:13)

Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to