fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
most of stage 2
[edumed.git]
/
wtem
/
models.py
diff --git
a/wtem/models.py
b/wtem/models.py
index
d355506
..
3947632
100644
(file)
--- a/
wtem/models.py
+++ b/
wtem/models.py
@@
-127,6
+127,8
@@
class Submission(models.Model):
if t == 'edumed_prawdafalsz':
toret = 0
for idx, statement in enumerate(exercise['statements']):
if t == 'edumed_prawdafalsz':
toret = 0
for idx, statement in enumerate(exercise['statements']):
+ if statement[1] == 'ignore':
+ continue
if answer[idx] == 'true':
given = True
elif answer[idx] == 'false':
if answer[idx] == 'true':
given = True
elif answer[idx] == 'false':