todos and comments

This commit is contained in:
Victor Shnayder
2012-08-02 11:33:53 -04:00
parent fd796478d8
commit 64346d727b
2 changed files with 9 additions and 3 deletions

View File

@@ -20,5 +20,10 @@ class EditingDescriptor(MakoModuleDescriptor):
def get_context(self):
return {
'module': self,
'data': self.definition['data'],
'data': self.definition.get('data', ''),
# TODO (vshnayder): allow children and metadata to be edited.
#'children' : self.definition.get('children, ''),
# TODO: show both own metadata and inherited?
#'metadata' : self.own_metadata,
}