Mercurial > hg > ChinaGisRestApi
annotate __init__.py @ 276:55bc9972fb1b
Merge with d1b43624cc63b829f64cc952540748e15272e389
author | casties |
---|---|
date | Thu, 23 Feb 2012 21:29:06 +0100 |
parents | 9b7db308d2e6 |
children |
rev | line source |
---|---|
1 | 1 |
274
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
2 #import RestDbInterface |
43 | 3 import RestDbJsonStore |
4 import RestDbGisApi | |
1 | 5 |
6 def initialize(context): | |
2
61a3764cd5fb
new version RestDbInterface with working traversal and templates
casties
parents:
1
diff
changeset
|
7 |
274
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
8 # context.registerClass( |
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
9 # RestDbInterface.RestDbInterface, |
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
10 # constructors = ( |
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
11 # RestDbInterface.manage_addRestDbInterfaceForm, |
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
12 # RestDbInterface.manage_addRestDbInterface |
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
13 # ) |
9b7db308d2e6
refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents:
63
diff
changeset
|
14 # ) |
43 | 15 |
50 | 16 context.registerClass( |
17 RestDbJsonStore.RestDbJsonStore, | |
18 constructors = ( | |
19 RestDbJsonStore.manage_addRestDbJsonStoreForm, | |
20 RestDbJsonStore.manage_addRestDbJsonStore | |
21 ) | |
22 ) | |
43 | 23 |
24 context.registerClass( | |
25 RestDbGisApi.RestDbGisApi, | |
26 constructors = ( | |
27 RestDbGisApi.manage_addRestDbGisApiForm, | |
28 RestDbGisApi.manage_addRestDbGisApi | |
29 ) | |
30 ) | |
63 | 31 |
32 # FileSystemSite for gis_gui files | |
33 from Products.FileSystemSite.DirectoryView import registerDirectory | |
34 registerDirectory('gis_gui', globals()) |