o = RelatingModel.objects.create()
o.many2many.add(ModelA.objects.get(id=1))
o.many2many.add(ModelB.objects.get(id=2))
o.many2many.add(ModelC.objects.get(id=3))
o.many2many.all()
ForeignKey field related to abstract model in Django