Add a showanswer='always' option

This commit is contained in:
Calen Pennington
2012-04-30 14:38:01 -04:00
parent faf0782d60
commit 58731a1c3a

View File

@@ -245,6 +245,8 @@ class Module(XModule):
return True
if self.show_answer == 'closed' and not self.closed():
return False
if self.show_answer == 'always':
return True
print "aa", self.show_answer
raise Http404