[web2py:14133] app on GAE account a admin disabled because unable to access password file issue

2008-12-26 Thread zhaopeng
Hi All, a small app works fine on web2py's default host server.but when it runs on gae's dev_appserver,it account an issue: Internal error Ticket issued: unknown admin disabled because unable to access password file maybe it because i use session.token==1(or 0) to check whether the user has

[web2py:13443] can i add vars to request from SQLFORM and then use form.accepts()

2008-12-12 Thread zhaopeng
Hello everybody, I display some fields of a table use SQLFORM to view.when i get the request data from SQLFORM, I add some vars to request.vars,then add the data to db by form.accepts(request.vars,session),but i found the vars i added in db is None.so i must use db.table.insert() to add the