> {% 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 -~----------~----~----~----~------~----~------~--~---