Skip to main content
2 of 4
added 24 characters in body
j0k
  • 22.8k
  • 28
  • 81
  • 90

You can try this also:

override save method as:

def save(self, my_val, *args, **kwargs): print my_val # do_something here return super(MyModel, self).save(*args, **kwargs) 

On calling save method as:

MyModel.save(my_val="fooooo") 

this will print my_val and save sa it it