Make XModuleDescriptor and XModule act as a single class

By transparently proxying between the XModuleDescriptor and the XModule,
and between their runtimes, we can make them act as a single class, so
that we can swap in an actual XBlock instead.
This commit is contained in:
Calen Pennington
2013-09-19 13:11:17 -04:00
parent 3cebb4eae2
commit 6b474724ac
44 changed files with 551 additions and 356 deletions

View File

@@ -45,9 +45,6 @@ class SequenceModule(SequenceFields, XModule):
self.rendered = False
def get_instance_state(self):
return json.dumps({'position': self.position})
def get_html(self):
self.render()
return self.content