Beispiel #1
0
 def create_options(self, request):
     groups = ServerGroup.objects.values('id', 'name')
     server_plugins = PluginUtils.get_server_plugins()
     return Response({
         'statusList': ServerStatus.CHOICES,
         'plugins': server_plugins,
         'groups': groups
     })
Beispiel #2
0
 def get_available_plugins(obj):
     return PluginUtils.get_server_plugins()