Mercurial > hg > ChinaGisRestApi
view __init__.py @ 94:e76dd62f93fd
merge
with 399148bf9b3ad57da913ae440cc5f96e5d1b02bd
author | casties |
---|---|
date | Wed, 26 Jan 2011 12:58:06 +0100 |
parents | 7f008e782563 |
children | 9b7db308d2e6 |
line wrap: on
line source
import RestDbInterface import RestDbJsonStore import RestDbGisApi def initialize(context): context.registerClass( RestDbInterface.RestDbInterface, constructors = ( RestDbInterface.manage_addRestDbInterfaceForm, RestDbInterface.manage_addRestDbInterface ) ) context.registerClass( RestDbJsonStore.RestDbJsonStore, constructors = ( RestDbJsonStore.manage_addRestDbJsonStoreForm, RestDbJsonStore.manage_addRestDbJsonStore ) ) context.registerClass( RestDbGisApi.RestDbGisApi, constructors = ( RestDbGisApi.manage_addRestDbGisApiForm, RestDbGisApi.manage_addRestDbGisApi ) ) # FileSystemSite for gis_gui files from Products.FileSystemSite.DirectoryView import registerDirectory registerDirectory('gis_gui', globals())