[web2py] How to reuse the db definition?

2012-04-07 Thread Ronghui Yu
a complete setting of request, response, and session. I am just wondering if there is a simple way to reuse the db definition, so that I could operate on databsse in the script in the same way as that in controller. Thanks a lot -- === Regards Ronghui Yu

[web2py] Won't DB detect table existence?

2012-04-07 Thread Ronghui Yu
doing something wrong? -- === Regards Ronghui Yu

Re: [web2py] Re: Won't DB detect table existence?

2012-04-07 Thread Ronghui Yu
massimo.dipie...@gmail.com wrote: Did you change the database password, or something else in the URI string? If so, and if you did not change anything else, set a fake_migration=True to rebuild the *.table for the new URI. On Saturday, 7 April 2012 02:33:32 UTC-5, Ronghui Yu wrote: Hi, All, I

Re: [web2py] Re: How to reuse the db definition?

2012-04-07 Thread Ronghui Yu
these two cases but I would not recommend. If you deviate be careful in catching all possible exceptions. Massimo -- === Regards Ronghui Yu

[web2py] web2py online book

2012-04-03 Thread Ronghui Yu
A Python script git://github.com/stoneyrh/xscripts.git for retrieving web2py online book into a VIM help file. It will great help for searching via VIM capability. Hope you like it. Any feedback will be appreciated. -- === Regards Ronghui Yu

Re: [web2py] Re: How to prevent form within component submitting?

2012-04-01 Thread Ronghui Yu
...@gmail.com wrote: The submit is trapped by web2py.js This can be prevented by adding _class=no_trap to the form. On Sunday, 1 April 2012 16:50:18 UTC+1, Ronghui Yu wrote: Hi, All, I have a piece of HTML that generated by LOAD helper. And there is a form in it, quite similar