2008/4/24 Phil Davis <[EMAIL PROTECTED]>:
> 2008/4/24 Raisins <[EMAIL PROTECTED]>:
>
[...]
> {% for x in form %}
> {{x.item.some_x_attr}}
> {{x}}
> {% endfor %}
>
I forgot that within the template there is a BoundField wrapper around
each real form field so the above example should be:
{% for x in form %}
{{x.field.item.some_x_attr}}
{{x}}
{% endfor %}
Cheers,
--
Phil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---