Jannis Leidel wrote:
> The proposed feature would allow this:
> 
> {% for item in grocery_list %}
>   {{ item }}
> {% default %}
>   Nothing to buy.
> {% endfor %}

As of coloring the bikeshed, I prefer {% empty %} over {% default %} and 
{% else %}.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to