[Answer]-Django ValueError when trying to save ManyToMany Values from a Form

1👍

You forgot to call the original save() in the overriden Dataset.save() method.

def save(self, *args, **kwargs):
    self.dataset_id = self.id
    super(Dataset, self).save(*args, **kwargs)

Leave a comment