Note, that this is actually a dupe of #3481.
Regarding, {% else %}, see what Malcolm said about it -
http://code.djangoproject.com/ticket/3481#comment:2

On Oct 29, 1:18 pm, oggie rob <[EMAIL PROTECTED]> wrote:
> > {% for item in grocery_list %}
> >   {{ item }}
> > {% default %}
> >   Nothing to buy.
> > {% endfor %}
>
> Please, though - use {% else %}. Its totally clear what its referring
> to and else doesn't mean squat unless you see what the if (and in this
> case, for) test is anyway, so I don't think this would be confusing
> (after all, this isn't python).
> (Also, if you want to avoid confusion don't use a keyword that is
> located within another language's looping construct :)
>
>  -rob
--~--~---------~--~----~------------~-------~--~----~
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