SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 027596be authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Debug auto ref reminder method

parent 4289d3c1
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ class Command(BaseCommand): ...@@ -56,7 +56,7 @@ class Command(BaseCommand):
mail_sender.send() mail_sender.send()
# one week before refereeing deadline: auto email reminder to ref # one week before refereeing deadline: auto email reminder to ref
if workdays_between(timezone.now(), submission.reporting_deadline) == 5: 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_sender = DirectMailUtil(
mail_code='referees/remind_referee_deadline_1week', instance=invitation) mail_code='referees/remind_referee_deadline_1week', instance=invitation)
mail_sender.send() mail_sender.send()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment