equal
deleted
inserted
replaced
100 format_attrdef = ybo.String(meta=True, internationalizable=True, |
100 format_attrdef = ybo.String(meta=True, internationalizable=True, |
101 default=rdef.default_format, maxsize=50, |
101 default=rdef.default_format, maxsize=50, |
102 constraints=rdef.format_constraints) |
102 constraints=rdef.format_constraints) |
103 yams_add_relation(relations, format_attrdef, name+'_format', insertidx) |
103 yams_add_relation(relations, format_attrdef, name+'_format', insertidx) |
104 yams_add_relation(relations, rdef, name, insertidx) |
104 yams_add_relation(relations, rdef, name, insertidx) |
105 |
|
106 |
105 |
107 def display_name(req, key, form=''): |
106 def display_name(req, key, form=''): |
108 """return a internationalized string for the key (schema entity or relation |
107 """return a internationalized string for the key (schema entity or relation |
109 name) in a given form |
108 name) in a given form |
110 """ |
109 """ |
911 return super(CubicWebSchemaLoader, self).load(config, path=path) |
910 return super(CubicWebSchemaLoader, self).load(config, path=path) |
912 |
911 |
913 def _load_definition_files(self, cubes): |
912 def _load_definition_files(self, cubes): |
914 for filepath in (self.include_schema_files('bootstrap') |
913 for filepath in (self.include_schema_files('bootstrap') |
915 + self.include_schema_files('base') |
914 + self.include_schema_files('base') |
|
915 + self.include_schema_files('workflow') |
916 + self.include_schema_files('Bookmark') |
916 + self.include_schema_files('Bookmark') |
917 + self.include_schema_files('Card')): |
917 + self.include_schema_files('Card')): |
918 self.info('loading %s', filepath) |
918 self.info('loading %s', filepath) |
919 self.handle_file(filepath) |
919 self.handle_file(filepath) |
920 for cube in cubes: |
920 for cube in cubes: |