Esempio n. 1
0
 def filter_by_provider(self, queryset, value):
     """
     Filter actions down to those available for a specific provider
     """
     return InstanceAction.filter_by_provider(value, queryset)
Esempio n. 2
0
 def filter_by_instance(self, queryset, name, value):
     """
     Filter actions down to those available for a specific instance
     """
     return InstanceAction.filter_by_instance(value, queryset)