Why does my Django model’s save() method run twice when creating an object in the admin panel?
I have a Django model with a custom save() method:
class MyModel(models.Model):
name = models.CharField(max_length=100)
def save(self, *args, **kwargs):
print('Saving...')
super().save(*args, **kwargs)
When I create a new object through the Django admin, I see "Saving..." printed twice in the console.