mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-26 02:33:40 -05:00
Resolve default ordering warnings from tests
This commit is contained in:
@@ -4455,6 +4455,7 @@ class RoleUsersList(SubListAttachDetachAPIView):
|
||||
serializer_class = serializers.UserSerializer
|
||||
parent_model = models.Role
|
||||
relationship = 'members'
|
||||
ordering = ('username',)
|
||||
|
||||
def get_queryset(self):
|
||||
role = self.get_parent_object()
|
||||
|
||||
Reference in New Issue
Block a user