X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/6c9978c5bf8b1ef20871557c22b8b02df647d700..c047053dab0ec7d125fd5b2540a01045e64dd3fa:/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')