welcome + gae should use ndb as example
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.9.5-trunk+timestamp.2014.03.31.00.18.01
|
||||
Version 2.9.5-trunk+timestamp.2014.03.31.00.23.41
|
||||
|
||||
@@ -14,7 +14,7 @@ if not request.env.web2py_runtime_gae:
|
||||
db = DAL('sqlite://storage.sqlite',pool_size=1,check_reserved=['all'])
|
||||
else:
|
||||
## connect to Google BigTable (optional 'google:datastore://namespace')
|
||||
db = DAL('google:datastore')
|
||||
db = DAL('google:datastore+ndb')
|
||||
## store sessions and tickets there
|
||||
session.connect(request, response, db=db)
|
||||
## or store session in Memcache, Redis, etc.
|
||||
|
||||
Reference in New Issue
Block a user