fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adapt script for sending results from csv
[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
fdc539c
..
fa729d5
100644
(file)
--- a/
wtem/management/commands/wtem_send_results.py
+++ b/
wtem/management/commands/wtem_send_results.py
@@
-14,7
+14,7
@@
from wtem.models import Submission
def get_submissions():
return sorted(Submission.objects.exclude(answers=None).all(), key=lambda s: -s.final_result)
def get_submissions():
return sorted(Submission.objects.exclude(answers=None).all(), key=lambda s: -s.final_result)
-minimum = 5
5
+minimum = 5
2
class Command(BaseCommand):
class Command(BaseCommand):
@@
-37,7
+37,7
@@
class Command(BaseCommand):
action='store',
dest='only_to',
default=None,
action='store',
dest='only_to',
default=None,
- help='Send emails
to student
s'),
+ help='Send emails
only to listed addresse
s'),
)
def handle(self, *args, **options):
)
def handle(self, *args, **options):