Semi-generic registration mechanism for modules. Still need to clean up references in content_parser

--HG--
branch : pmitros-mod-template
This commit is contained in:
Piotr Mitros
2012-02-11 08:20:43 -05:00
parent 39011ce011
commit cbc020785a
9 changed files with 73 additions and 44 deletions

View File

@@ -10,7 +10,8 @@ class XModule(object):
'''
id_attribute='name' # An attribute guaranteed to be unique
def get_xml_tags():
@classmethod
def get_xml_tags(c):
''' Tags in the courseware file guaranteed to correspond to the module '''
return []