Overriding predefined model methods not work

I overrided the predefined model method save() and do_something():

from django.db import models


class Blog(models.Model):
    name = models.CharField(max_length=100)
    tagline = models.TextField()

    def save(self, *args, **kwargs):
        do_something()
        super().save(*args, **kwargs)

then I deleted the overriding code:

from django.db import models


class Blog(models.Model):
    name = models.CharField(max_length=100)
    tagline = models.TextField()

BUT the do_something() was still invoked??
Any idea on how to prevent do_something() working as the default method save() does?

I think you’re going to need to be more specific here.

In addition to posting the complete model, please describe in detail what is happening that you’re not expecting to have happen, along with describing how you’re testing this.

do_something() was not expected to be invoked when I deleted it.
I suspect whether django has cached the overriding version, and when I restore it to a default version, it still uses the cache? So the solution may be on how to find and delete its cache.