Exemple #1
0
 def _get_schema(self, resource, context):
     base_schema = DBResource_Edit._get_schema(self, resource, context)
     return freeze(merge_dicts(base_schema,
         display_title=Boolean, render=OpenLayerRender(mandatory=True),
         width=Integer, height=Integer, address=Unicode,
         latitude=Decimal, longitude=Decimal, zoom=Integer,
         # Hack
         gps=String))
 def _get_schema(self, resource, context):
     return merge_dicts(DBResource_Edit._get_schema(self, resource, context),
                        view=SectionViews_Enumerate,
                        breadcrumb_title=Multilingual)