@handle_response_format
@treeio_login_required
def index_groups(request, response_format='html'):
 groups = Group.objects.order_by('parent', 'name')
 types = Object.filter_by_request(request, ContactType.objects.order_by('name'))
 return render_to_response('identities/index_groups', {'groups': groups, 'types': types}, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required def index_groups ( request , response_format = 'html' ) : groups = Group . objects . order_by ( 'parent' , 'name' ) types = Object . filter_by_request ( request , ContactType . objects . order_by ( 'name' ) ) return render_to_response ( 'identities/index_groups' , { 'groups' : groups , 'types' : types } , context_instance = RequestContext ( request ) , response_format = response_format )
group list .