foos = GenericRelation(Foo, related_query_name='bar_x')


class BarY(Bar):
    name = models.CharField(max_length=10, default='bar y')
foos = GenericRelation(Foo, related_query_name='bar_y')
Как пройти GenericForeignKey в Django?