fix(config_management): config group software viewset must cache queryset

ref: #512 #518
This commit is contained in:
2025-02-03 21:58:18 +09:30
parent fae11ca310
commit ce0cc856a7

View File

@ -77,6 +77,10 @@ class ViewSet( ModelViewSet ):
def get_queryset(self):
if self.queryset:
return self.queryset
if 'parent_group' in self.kwargs:
self.queryset = super().get_queryset().filter(parent = self.kwargs['parent_group'])