#13620: django template revision
-----------------------------+----------------------------------------------
 Reporter:  elkan            |       Owner:  nobody    
   Status:  new              |   Milestone:  1.3       
Component:  Template system  |     Version:  SVN       
 Keywords:  template tags    |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 Hi, kinda new here.  I've been studying the way we do template tags, and
 had a suggestion for how to revise them to make them a bit easier.  I was
 thinking that out of the tags, I like the variable syntax the best -- {{
 variable.attribute }}.  I realize that if we were to use the double curly
 brackets on all of the tags, they might conflict with the namespace, but
 it seems like having "block", "if", "elsif", "else", "for", and "extends"
 and their respective 'end'ings as keywords would not be burdensome.  It's
 really unpleasant typing {%%} and left arrow twice, space, the item name,
 and space for every tag ''and'' for its closing tag.

 An alternative that wouldn't affect the namespace but would still be more
 convenient for both plain typing and possibly for code completion (I don't
 know why eclipse pydev doesn't close these tags) would be triple brackets
 -- {{{ block head }}}.

 -Dan

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13620>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to