use correct variable for user membership

This commit is contained in:
Trever Fischer
2012-04-21 11:48:10 -04:00
parent 741a6658a0
commit 8da9453a34

View File

@@ -8,11 +8,12 @@
{% for group in groups %}
<h2>{{group}}</h2>
<ul class='profile-list'>
{% for user in group.users %}
{% for user in group.user_set.all %}
<li><a href="{% url local.views.profile username=user.username %}">{% avatar user %}<p>{{user}}</p></a></li>
{% endfor %}
</ul>
{% endfor %}
<br style="clear:both"/>
<h2>All Players</h2>
<ul class='profile-list'>
{% for user in profiles %}