I have 2 listeners defined:
def update_dashbaord_modified_date(sender, **kwargs):
"""Listen for changes to Goal, Action, etc. since we
want to update the date modified on Dashbaord when a change occurs."""
... do something ...
post_save.connect(update_dashbaord_modified_date) # Register to listen for post_save signals
post_delete.connect(update_dashbaord_modified_date) # Register to listen for post_delete signals
And now, after there is a change to a Goal or adds a Goal (model class Goal), I want that save to send a signal. How is this implemented. I don't understand the documentation for it.
Thanks