on GAE development server. (winxp sp3, pythton2.5.4, web2py1.61.4, GAE
1.2.2)
Edit View(layout.html) does not matter, does not reflect this.
After restarting the server, then reflected it.
default, setting the cache?
part of "appliations/init/models/db.py"
try:
from gluon.contrib.gql import * # if running on Google App
Engine
except:
db = SQLDB('sqlite://storage.db') # if not, use SQLite or
other DB
else:
db = GQLDB() # connect to Google BigTable
session.connect(request, response, db=db) # and store
sessions there
# or use the following lines to store sessions in Memcache
# from gluon.contrib.memdb import MEMDB
# from google.appengine.api.memcache import Client
# session.connect(request, response, db=MEMDB(Client()))
# GAE memcache
# from gluon.contrib.gae_memcache import MemcacheClient
# cache.ram = MemcacheClient(request)
# define tables
run_server
shell> dev_appserver.py --port=80 web2py <enter>
Help.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---