Parse XModuleDescriptors on import using from_xml

Also:
Render all XModuleDescriptors in the cms the same way
Default them to editing raw xml, if there is no specific module for them
This commit is contained in:
Calen Pennington
2012-06-26 11:55:20 -04:00
parent 5b4c501a71
commit e9a00ffc5a
17 changed files with 242 additions and 202 deletions

View File

@@ -16,8 +16,8 @@ class HtmlModuleDescriptor(MakoModuleDescriptor):
"""
mako_template = "widgets/html-edit.html"
# TODO (cpennington): Make this into a proper module
js = {'coffee': [resource_string(__name__, 'js/module/html.coffee')]}
js_module = 'HTML'
class Module(XModule):