I would simply do db = DAL('google:datastore://' + request.application)
and each application with get its own namespace. There is really nothing else to do. You use each of your app normally but they will coexist while using different data. I have not used this feature in some time so I hope recent GAE SDK updates did not break it. On Thursday, 13 September 2012 16:54:57 UTC-5, Massimo Di Pierro wrote: > > https://developers.google.com/appengine/docs/java/multitenancy/multitenancy > > you can specify a namespace in web2py with: > > db = DAL('google:datastore://<namespace>') > > You can deploy multiple apps under the same GAE instance and one web2py as > long as they use different namespaces. > > > > On Thursday, 13 September 2012 14:16:32 UTC-5, Pystar wrote: >> >> What exactly do you mean by namespaces here? And wouldnt a simpler >> solution be to have another install of web2py and develop the other app >> there and upload to GAE? >> >> On Thursday, September 13, 2012 12:43:47 PM UTC+1, Massimo Di Pierro >> wrote: >>> >>> yes but they will share the db unless the apps use namespaces. >>> >>> On Wednesday, September 12, 2012 11:07:33 PM UTC-5, Pystar wrote: >>>> >>>> I have one web2py installation on my system containing 2 applications. >>>> I want to upload both to google app engine. How do I specify that in the >>>> app.yaml file? is it even legal? or are there some pitfalls I have to look >>>> out for? >>> >>> --