mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
GroupInformation, not the group
This commit is contained in:
@@ -53,7 +53,7 @@ def group_list(request):
|
|||||||
fixed = not group.groupinformation.type == GROUP_TYPE_PERMISSION
|
fixed = not group.groupinformation.type == GROUP_TYPE_PERMISSION
|
||||||
pending = group.requests.filter(status=REQUEST_PENDING,user=request.user).count()
|
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))
|
return render_to_response('groups/group_list.html', locals(), context_instance=RequestContext(request))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user