Hi, I was just referred here with a suggestion I posted on the django ticket tracker. 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 }}}. Thanks for your time, -Dan p.s. not sure if the code will show up appropriately in the above, but hopefully you get the picture. Also, I'm on Windows and/or Linux... Here's the initial reply: ----------------------------------------------------------------- Change History 05/26/10 14:01:25 changed by adamnelson status changed from new to closed. needs_better_patch changed. resolution set to invalid. needs_tests changed. needs_docs changed. 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: http://groups.google.com/group/django-developers You may want to try TextMate Django bundles to make this easier on a Mac - I don't have any other suggestions though. Cheers. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.