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
Post a Comment