I have a situation where there is a M2M with a through model for extra
information, as per

When using Class Based Generic Views in the documented situation above, how
would I show a list of members for each group?

I have something like

{% for membership in group.membership.all %}
{{ membership__person_name }}
{{ membership_start_date }}
{% endfor %}

but it's not working. Obv I'm doing something wrong/stupid, but nothing I'm
trying seems to work and the docs suggest I need to come through the
membership object. Which would be fine, but surely the details are
available to the Group object?

"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
creative agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "

*Greg Bloom* @greggish

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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to