예제 #1
0
 def post_creation(self, instance):
     tasks_service.clear_department_cache(str(instance.id))
     return instance.serialize()
예제 #2
0
 def post_delete(self, instance_dict):
     tasks_service.clear_department_cache(instance_dict["id"])
예제 #3
0
파일: department.py 프로젝트: cgwire/zou
 def post_update(self, instance_dict):
     tasks_service.clear_department_cache(instance_dict["id"])
     return instance_dict