python - Django: Automatically call method when an object is added -


i have team model , match model.

the match model has date property , team model has last_played property date.

can somehow customize django automatically update last_played date of both teams referenced in match object adding it?


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -