MCPcopy
hub / github.com/jumpserver/jumpserver / get_queryset

Method get_queryset

apps/users/api/relation.py:24–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 }
23
24 def get_queryset(self):
25 return super().get_queryset().annotate(
26 user_display=F('user__name'), usergroup_display=F('usergroup__name')
27 )
28
29 def allow_bulk_destroy(self, qs, filtered):
30 if filtered.count() != 1:

Callers

nothing calls this directly

Calls 1

FFunction · 0.50

Tested by

no test coverage detected