[Fixed]-Function call on individual field save in django

1👍

Just override save in Workplace:

def save(self, *args, **kwargs):
   # do whatever you need, save other models etc.. 
   super().save(*args, **kwargs))  # or super(Workplace, self).save(*args, **kwargs)
                                   # if Python 2

Leave a comment