comparison __init__.py @ 274:9b7db308d2e6

refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
author casties
date Thu, 23 Feb 2012 08:35:26 +0100
parents 7f008e782563
children
comparison
equal deleted inserted replaced
270:3a5d51c60e40 274:9b7db308d2e6
1 1
2 import RestDbInterface 2 #import RestDbInterface
3 import RestDbJsonStore 3 import RestDbJsonStore
4 import RestDbGisApi 4 import RestDbGisApi
5 5
6 def initialize(context): 6 def initialize(context):
7 7
8 context.registerClass( 8 # context.registerClass(
9 RestDbInterface.RestDbInterface, 9 # RestDbInterface.RestDbInterface,
10 constructors = ( 10 # constructors = (
11 RestDbInterface.manage_addRestDbInterfaceForm, 11 # RestDbInterface.manage_addRestDbInterfaceForm,
12 RestDbInterface.manage_addRestDbInterface 12 # RestDbInterface.manage_addRestDbInterface
13 ) 13 # )
14 ) 14 # )
15 15
16 context.registerClass( 16 context.registerClass(
17 RestDbJsonStore.RestDbJsonStore, 17 RestDbJsonStore.RestDbJsonStore,
18 constructors = ( 18 constructors = (
19 RestDbJsonStore.manage_addRestDbJsonStoreForm, 19 RestDbJsonStore.manage_addRestDbJsonStoreForm,