Template:
{% for per in person_list%}
<tr>
<td>{{ per }}</td>
{% for spec in per.specialization_id.all %}
<td>{{ spec }}</td>
{% endfor %}
</tr>
{% endfor %}
Here's my code in the template. I'ts not doing what I intend to see.
The table looks like this:
FullName | Programming | Web Design
How can I make it look like this instead
FullName | Programming, Web Design |
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/38b192a0-0c4e-40d0-812a-fc004be9ca50%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.