X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/6c9978c5bf8b1ef20871557c22b8b02df647d700..d83b04cb2d40247e0c61ad7d01369207c6de96e1:/wtem/management/commands/wtem_email_teachers.py diff --git a/wtem/management/commands/wtem_email_teachers.py b/wtem/management/commands/wtem_email_teachers.py index 9b5e5e9..40773f0 100644 --- a/wtem/management/commands/wtem_email_teachers.py +++ b/wtem/management/commands/wtem_email_teachers.py @@ -12,7 +12,7 @@ class Command(BaseCommand): sent = 0 failed = 0 - query = Contact.objects.filter(form_tag='wtem').order_by('contact').distinct('contact') + query = Contact.objects.filter(form_tag='olimpiada').order_by('contact').distinct('contact') template_name = args[0] message = render_to_string('wtem/' + template_name + '.txt') subject = render_to_string('wtem/' + template_name + '_subject.txt')