Django: Ticket #13620: django template revision <p> 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 <em>and</em> for its closing tag. </p> <p> 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 -- <tt> block head </tt>. </p> <p> -Dan </p> en-us Django Trac 1.0 adamnelson Wed, 26 May 2010 19:01:25 GMT status changed; needs_better_patch, resolution, needs_tests, needs_docs set <ul> <li><strong>status</strong> changed from <em>new</em> to <em>closed</em> </li> <li><strong>needs_better_patch</strong> unset </li> <li><strong>resolution</strong> set to <em>invalid</em> </li> <li><strong>needs_tests</strong> unset </li> <li><strong>needs_docs</strong> unset </li> </ul> <p> I think it's a reasonable request but this would require a rigorous discussion on django developers newsgroup before even having a ticket and would be more like a 1.4 thing: </p> <p> <a class="ext-link" href=""><span class="icon">​</span></a> </p> <p> You may want to try <a class="wiki" href="">TextMate</a> Django bundles to make this easier on a Mac - I don't have any other suggestions though. </p> <p> Cheers. </p> Ticket jacob Wed, 28 Sep 2011 16:12:27 GMT milestone deleted <ul> <li><strong>milestone</strong> <em>1.3</em> deleted </li> </ul> <p> Milestone 1.3 deleted </p> Ticket