group = Group.objects.get(pk=1)
user = User.objects.get(pk=1)
group.members.add(user)
group.members.all()
group.members.add(user)
group.members.all()
Django - обеспечение уникальных элементов ManyToManyField