annotate __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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
48de7c260ffe first commit
fknauft
parents:
diff changeset
1
274
9b7db308d2e6 refactor RestDbGisApi to use RestDbInterface from ZDbInterface Product.
casties
parents: 63
diff changeset
2 #import RestDbInterface
43
562717546168 refactoring...
casties
parents: 2
diff changeset
3 import RestDbJsonStore
562717546168 refactoring...
casties
parents: 2
diff changeset
4 import RestDbGisApi
1
48de7c260ffe first commit
fknauft
parents:
diff changeset
5
48de7c260ffe first commit
fknauft
parents:
diff changeset
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
562717546168 refactoring...
casties
parents: 2
diff changeset
15
50
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
16 context.registerClass(
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
17 RestDbJsonStore.RestDbJsonStore,
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
18 constructors = (
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
19 RestDbJsonStore.manage_addRestDbJsonStoreForm,
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
20 RestDbJsonStore.manage_addRestDbJsonStore
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
21 )
29c822d15bc1 more JSON store
casties
parents: 43
diff changeset
22 )
43
562717546168 refactoring...
casties
parents: 2
diff changeset
23
562717546168 refactoring...
casties
parents: 2
diff changeset
24 context.registerClass(
562717546168 refactoring...
casties
parents: 2
diff changeset
25 RestDbGisApi.RestDbGisApi,
562717546168 refactoring...
casties
parents: 2
diff changeset
26 constructors = (
562717546168 refactoring...
casties
parents: 2
diff changeset
27 RestDbGisApi.manage_addRestDbGisApiForm,
562717546168 refactoring...
casties
parents: 2
diff changeset
28 RestDbGisApi.manage_addRestDbGisApi
562717546168 refactoring...
casties
parents: 2
diff changeset
29 )
562717546168 refactoring...
casties
parents: 2
diff changeset
30 )
63
7f008e782563 add gui files to product via FileSystemSite
casties
parents: 50
diff changeset
31
7f008e782563 add gui files to product via FileSystemSite
casties
parents: 50
diff changeset
32 # FileSystemSite for gis_gui files
7f008e782563 add gui files to product via FileSystemSite
casties
parents: 50
diff changeset
33 from Products.FileSystemSite.DirectoryView import registerDirectory
7f008e782563 add gui files to product via FileSystemSite
casties
parents: 50
diff changeset
34 registerDirectory('gis_gui', globals())