I have a view that renders a table. The "table" object is a list
rows, which are themselves lists of model objects. These objects have
a parameter called label.
Inside the template
{{ object.label }}
render's an objects label and
{{ row|first }}
renders the first object in the row.
I want to be able to render the label of the first object in the row.
I want to write something like this
{{ row|first.label }}
but that doesn't work. Is there equivalent syntax that does work
within the template markup language?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---