mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-05 07:34:05 +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