fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
855e20a
)
even more changes for olimpiada (email teachers)
author
Jan Szejko
<janek37@gmail.com>
Thu, 10 Nov 2016 16:57:08 +0000
(17:57 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 10 Nov 2016 16:57:08 +0000
(17:57 +0100)
wtem/management/commands/wtem_email_teachers.py
patch
|
blob
|
history
diff --git
a/wtem/management/commands/wtem_email_teachers.py
b/wtem/management/commands/wtem_email_teachers.py
index
9b5e5e9
..
40773f0
100644
(file)
--- 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
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')
template_name = args[0]
message = render_to_string('wtem/' + template_name + '.txt')
subject = render_to_string('wtem/' + template_name + '_subject.txt')