fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update results emails
[edumed.git]
/
wtem
/
management
/
commands
/
wtem_send_results.py
diff --git
a/wtem/management/commands/wtem_send_results.py
b/wtem/management/commands/wtem_send_results.py
index
ef593e7
..
4f2de33
100644
(file)
--- a/
wtem/management/commands/wtem_send_results.py
+++ b/
wtem/management/commands/wtem_send_results.py
@@
-37,9
+37,13
@@
class Command(BaseCommand):
action='store',
dest='only_to',
default=None,
action='store',
dest='only_to',
default=None,
- help='Send email
s only to listed addresse
s'),
+ help='Send email
only to one addres
s'),
)
)
+ def __init__(self):
+ super(Command, self).__init__()
+ self.sent = self.failed = None
+
def handle(self, *args, **options):
translation.activate('pl')
for target in ['to_teachers', 'to_students']:
def handle(self, *args, **options):
translation.activate('pl')
for target in ['to_teachers', 'to_students']: