X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/4b2479a67217baa238beb0b407a63ff1025b09f1..63cf73a68cbd3b9a22debbe723ad659c3deb95b9:/wtem/models.py?ds=inline diff --git a/wtem/models.py b/wtem/models.py index 361bff3..3947632 100644 --- a/wtem/models.py +++ b/wtem/models.py @@ -16,7 +16,7 @@ f = file(os.path.dirname(__file__) + '/fixtures/exercises.json') exercises = json.loads(f.read()) f.close() -DEBUG_KEY = '12345' +DEBUG_KEY = 'smerfetka159' class Submission(models.Model): @@ -127,6 +127,8 @@ class Submission(models.Model): 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':