From c18aa44cede94fe58adc101a7b68fea239294d8e Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Fri, 22 Apr 2016 13:48:58 -0400 Subject: [PATCH] Return Queryset instead of Manager fix --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index 1e72d18bee..3e70cb8099 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -3573,7 +3573,7 @@ class RoleChildrenList(SubListAPIView): # XXX: This should be the intersection between the roles of the user # and the roles that the requesting user has access to see role = Role.objects.get(pk=self.kwargs['pk']) - return role.children + return role.children.all()