我有模型:
class Model_1(models.Model):
...
class Model_2(models.Model):
m1 = models.ManyToManyField(Model_1,...
...
class Model_3(models.Model):
m2 = models.ManyToManyField(Model_2,...
...
我有model_3对象的pk。如何获取间接分配给model_3的所有model_1对象?