Question: from gluon.contrib.appconfig import AppConfig from gluon.tools import Auth configuration = AppConfig ( reload = True ) if not request.env.web 2 py _ runtime _ gae:
from gluon.contrib.appconfig import AppConfig
from gluon.tools import Auth
configuration AppConfigreloadTrue
if not request.env.webpyruntimegae:
#
# If NOT running on Google App Engine use sakitce or other ua
DALmysql:root:rootelocalhosttestsetencodingutfmb
migrateenabledFalse
etse:
# Connect to Google BigTable optional 'google:datastore: namespace't
#
DALgoogle:datastorendb
A store sessions and tickets there
session. connect request response,
or store session in Mencache, Redis, etc.
from gluon.contrib. nendb import MEMDB
# from google.appengine.api.memcache import client
session, connect request response, client
#
db definetablel 'authors',
Field'id 'integer'
Fieldname requiresISNOTEMPTY
Fieldbio 'text'
fieldemail requiresISEMaILWhere is the database server hosted
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
