Example #1
0
 def post_creation(self, instance):
     tasks_service.clear_department_cache(str(instance.id))
     return instance.serialize()
Example #2
0
 def post_delete(self, instance_dict):
     tasks_service.clear_department_cache(instance_dict["id"])
Example #3
0
 def post_update(self, instance_dict):
     tasks_service.clear_department_cache(instance_dict["id"])
     return instance_dict