From 58731a1c3a1b14efd5c7f0cc3629cfcf1ae46fb0 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 30 Apr 2012 14:38:01 -0400 Subject: [PATCH] Add a showanswer='always' option --- djangoapps/courseware/modules/capa_module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/djangoapps/courseware/modules/capa_module.py b/djangoapps/courseware/modules/capa_module.py index 3528e5d188..f1087a8f40 100644 --- a/djangoapps/courseware/modules/capa_module.py +++ b/djangoapps/courseware/modules/capa_module.py @@ -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