mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
Merge branch 'dev' into lina
This commit is contained in:
@@ -41,11 +41,10 @@ def default_node():
|
||||
|
||||
|
||||
class AssetManager(OrgManager):
|
||||
# def get_queryset(self):
|
||||
# return super().get_queryset().annotate(
|
||||
# platform_base=models.F('platform__base')
|
||||
# )
|
||||
pass
|
||||
def get_queryset(self):
|
||||
return super().get_queryset().annotate(
|
||||
platform_base=models.F('platform__base')
|
||||
)
|
||||
|
||||
|
||||
class AssetQuerySet(models.QuerySet):
|
||||
|
Reference in New Issue
Block a user