GroupInformation, not the group

This commit is contained in:
2011-01-11 14:45:43 +00:00
parent e24ae338d1
commit c6f9782d6d

View File

@@ -53,7 +53,7 @@ def group_list(request):
fixed = not group.groupinformation.type == GROUP_TYPE_PERMISSION
pending = group.requests.filter(status=REQUEST_PENDING,user=request.user).count()
group_list.append((group.id, group.name, group.description, status, requestable, fixed, pending))
group_list.append((group.id, group.name, group.groupinformation.description, status, requestable, fixed, pending))
return render_to_response('groups/group_list.html', locals(), context_instance=RequestContext(request))