Jarvis/jarvis/objective/signals.py

12 lines
399 B
Python

# from django.db.models.signals import post_save
# from django.dispatch import receiver
# from .models import TrainingRound
# @receiver(post_save, sender=TrainingRound)
# def compute_traininground_fields(**kwargs):
# print("In the post_save function.")
# # job = kwargs.get("instance")
# # logger.info("POST_SAVE : Job : %s" % job)
# # find people to email based on `job` instance