📅  最后修改于: 2022-03-11 14:46:34.875000             🧑  作者: Mango
class Visit(models.Mode):
attribute =
etc etc etc
def save(self, *args, **kwargs):
# do something with Invoice here
return super().save(*args, **kwargs)