From: Jan Szejko Date: Wed, 23 Mar 2016 11:38:28 +0000 (+0100) Subject: updated email subjects X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/2ef45eda8c195bc284bd57a29813a55d6870c3f4?ds=sidebyside updated email subjects --- diff --git a/wtem/management/commands/wtem_send_results.py b/wtem/management/commands/wtem_send_results.py index fa729d5..d2dc147 100644 --- a/wtem/management/commands/wtem_send_results.py +++ b/wtem/management/commands/wtem_send_results.py @@ -50,7 +50,7 @@ class Command(BaseCommand): def handle_to_students(self, *args, **options): self.stdout.write('>>> Sending results to students') - subject = 'Wyniki I etapu Wielkiego Turnieju Edukacji Medialnej' + subject = 'Wyniki II etapu Wielkiego Turnieju Edukacji Medialnej' for submission in get_submissions(): if options['only_to'] and submission.email != options['only_to']: @@ -67,7 +67,7 @@ class Command(BaseCommand): def handle_to_teachers(self, *args, **options): self.stdout.write('>>> Sending results to teachers') - subject = 'Wyniki I etapu Wielkiego Turnieju Edukacji Medialnej' + subject = 'Wyniki II etapu Wielkiego Turnieju Edukacji Medialnej' failed = sent = 0 submissions_by_contact = dict() diff --git a/wtem/management/commands/wtem_send_results_csv.py b/wtem/management/commands/wtem_send_results_csv.py index c0f5261..97a98eb 100644 --- a/wtem/management/commands/wtem_send_results_csv.py +++ b/wtem/management/commands/wtem_send_results_csv.py @@ -51,7 +51,7 @@ class Command(BaseCommand): def handle_to_students(self, *args, **options): self.stdout.write('>>> Sending results to students') - subject = 'Wyniki I etapu Wielkiego Turnieju Edukacji Medialnej' + subject = 'Wyniki II etapu Wielkiego Turnieju Edukacji Medialnej' for email, last_name, first_name, final_result in self.results: if options['only_to'] and email != options['only_to']: @@ -69,7 +69,7 @@ class Command(BaseCommand): def handle_to_teachers(self, *args, **options): self.stdout.write('>>> Sending results to teachers') - subject = 'Wyniki I etapu Wielkiego Turnieju Edukacji Medialnej' + subject = 'Wyniki II etapu Wielkiego Turnieju Edukacji Medialnej' submissions_by_contact = dict()