mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-06 18:00:57 +00:00
perf: 修改 m2m json field
This commit is contained in:
@@ -315,6 +315,7 @@ class RelatedManager:
|
||||
else:
|
||||
queryset = to_model.objects.all()
|
||||
q = cls.get_filter_q(value, to_model)
|
||||
print("Q: ", q)
|
||||
return queryset.filter(q)
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user