Is it possible to join a list of model objects (using the join template tag), except not to join the objects’ unicode values, but rather a certain field for each?
e.g.
{{ objects.field|join”, ” }} should return “object1.field, object2.field, …”
where objects is a list of model instances.
I know that iteration is an option, but am wondering if there is a more elegant solution.
Create a custom templatetag.