0
class A(models.Model):
relation = GenericRelation('B')
another_relation = GenericRelation('B')
class B(models.Model):
content_type = models.ForeignKey(ContentType, blank=True, null=True)
object_id = models.PositiveIntegerField(blank=True, null=True)
content = GenericForeignKey('content_type', 'object_id')
a = A()
b = B()
a.another_relation.all()の結果としてbを得るように接続を設定するにはどうすればよいですか?設定された一般的な関係を修正するにはどうすればいいですか?