Cache to swap branches

This commit is contained in:
Don Mitchell
2013-01-03 13:04:30 -05:00
parent b5b11c696a
commit f3ba15731c
2 changed files with 3 additions and 0 deletions

View File

@@ -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)

View File

@@ -3,6 +3,7 @@ metadata:
display_name: Numerical Response
rerandomize: never
showanswer: always
markdown:
data: |
<problem>
<p>