Duplicate django objects with ManyToManyFields
Just add them using the old object:
ee = deepcopy(e)ee.id=Noneee.save()ee.connexion.add(*e.connexion.all())
Just add them using the old object:
ee = deepcopy(e)ee.id=Noneee.save()ee.connexion.add(*e.connexion.all())