X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/6c9978c5bf8b1ef20871557c22b8b02df647d700..0e75480ea8f3c37b40012aef657d573d780998d2:/wtem/management/commands/wtem_email_teachers.py?ds=inline 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')