From f3ba15731c544327a8d62fb3193322b6efb71b71 Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Thu, 3 Jan 2013 13:04:30 -0500 Subject: [PATCH] Cache to swap branches --- common/lib/xmodule/xmodule/capa_module.py | 2 ++ .../xmodule/xmodule/templates/problem/numericalresponse.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/common/lib/xmodule/xmodule/capa_module.py b/common/lib/xmodule/xmodule/capa_module.py index fb2ddfff27..ff717acdf6 100644 --- a/common/lib/xmodule/xmodule/capa_module.py +++ b/common/lib/xmodule/xmodule/capa_module.py @@ -658,6 +658,8 @@ class CapaDescriptor(RawDescriptor): # TODO (vshnayder): do problems have any other metadata? Do they # actually use type and points? metadata_attributes = RawDescriptor.metadata_attributes + ('type', 'points') + + system_metadata_fields = RawDescriptor.system_metadata_fields + ['markdown'] def get_context(self): _context = RawDescriptor.get_context(self) diff --git a/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml b/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml index 18b2af6d51..a6ebb719d2 100644 --- a/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml @@ -3,6 +3,7 @@ metadata: display_name: Numerical Response rerandomize: never showanswer: always + markdown: data: |