fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix field counts
[edumed.git]
/
stage2
/
forms.py
diff --git
a/stage2/forms.py
b/stage2/forms.py
index
b956a23
..
ee25a03
100644
(file)
--- a/
stage2/forms.py
+++ b/
stage2/forms.py
@@
-80,8
+80,8
@@
class AssignmentFieldForm(forms.Form):
option.save()
else:
for opt in self.answer.fieldoption_set.all():
-
opt.answer = None
-
opt.save()
+ opt.answer = None
+ opt.save()
else:
self.answer.field_values[self.label] = value
self.answer.save()