When rendering this template:

{% block objcontent %}
{% for key, value in obj.items %}
<tr>
<td>{{ key }}
</td>
<td>{{ repr(value) }}
</td>
</tr>
{% endfor %}
{% endblock objcontent %}

I get this error:

'for' statements with five words should end in 'reversed': for key,
value in obj.items

Any idea what is going on here?

I get the same error from:
{% for ( key, value ) in obj.items() %}

Thanls
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to