fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sortowanie wyników uczniów w mailu dla nauczyciela
[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
17f74a1
..
9f88264
100644
(file)
--- a/
wtem/management/commands/wtem_send_results.py
+++ b/
wtem/management/commands/wtem_send_results.py
@@
-13,7
+13,7
@@
from wtem.models import Submission
def get_submissions():
- return
Submission.objects.exclude(answers = None).all(
)
+ return
sorted(Submission.objects.exclude(answers = None).all(), key=lambda s: -s.final_result
)
minimum = 55