Cache to swap branches
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -3,6 +3,7 @@ metadata:
|
||||
display_name: Numerical Response
|
||||
rerandomize: never
|
||||
showanswer: always
|
||||
markdown:
|
||||
data: |
|
||||
<problem>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user