Okay, so I've looked at the previous discussion on this topic, and the
code. Firstly let me say a big thank you to everyone who has worked on
Django, it's a fabulously useful piece of software, and a lot of fun
to work with.
By my lights, changeset 8760 could be considered to induce a
regression.
Thanks for the pointer to previous discussion, will review and see if
I can contribute something useful.
Cheers,
Alex
On Sep 6, 12:58 am, Karen Tracey wrote:
> On Sun, Sep 6, 2009 at 12:16 AM, vegas wrote:
>
> > Hi guys,
>
> > I was just doing some work, and I noticed that passing args and kw
I'd like to propose python-like tuple syntax for templates and
grouping brackets for filter expressions.
{% for x in ("default", var, f|exp) %} ... {% endfor%}
{{ x|yesno:("yes", "no", "maybe") }}
{% something (1,2,3,4)|slice:(start, stop) %}
{% if x|contains:(foo|last) %} ... {% endif %}
This
django.template.defaulttags, django.template.loader_tags,
django.templatetags.i18n, django.templatetags.cache,
django.contrib.comments are now converted.
All tests pass. Mostly unmodified:
-# Basic filter usage with space between a variable and
filter pipe
-'filter-s