From 027596bed3e61eae3996e32ca6e17bd591c2afdd Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Tue, 1 May 2018 10:02:52 +0200 Subject: [PATCH] Debug auto ref reminder method --- submissions/management/commands/send_refereeing_reminders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submissions/management/commands/send_refereeing_reminders.py b/submissions/management/commands/send_refereeing_reminders.py index 0e98faa6c..7ffd95bb2 100644 --- a/submissions/management/commands/send_refereeing_reminders.py +++ b/submissions/management/commands/send_refereeing_reminders.py @@ -56,7 +56,7 @@ class Command(BaseCommand): mail_sender.send() # one week before refereeing deadline: auto email reminder to ref if workdays_between(timezone.now(), submission.reporting_deadline) == 5: - for invitation in submission.refereeing_invitations.in_process(): + for invitation in submission.referee_invitations.in_process(): mail_sender = DirectMailUtil( mail_code='referees/remind_referee_deadline_1week', instance=invitation) mail_sender.send() -- GitLab