Page layout Default page layout Customizing the default layout Mobile development Page layout Views can extend and include other views in a tree-like structure. For example...
FORM The process and validate methods Conditional fields Hidden fields keepvalues dbio hideerror onvalidation Detect record change Forms and redirection Multiple fo...
Advanced features Table inheritance filter_in and filter_out callbacks on record insert, delete and update Database cascades Record versioning Common fields and multi-tenanc...
Sending SMS messages Sending SMS messages Sending SMS messages from a web2py application requires a third party service that can relay the messages to the receiver. Usually thi...
uWSGI API - Python装饰器 小抄 例子:一个Django会话清理器和视频解码器 例子:web2py + spooler + timer uwsgidecorators API参考 enqueue the tasks enqueue the task or the alternative lower level api u...
Raw SQL Timing queries executesql _lastsql Raw SQL Timing queries All queries are automatically timed by web2py. The variable db._timings is a list of tuples. Each tupl...
Acknowledgments Acknowledgments web2py was originally developed by and copyrighted by Massimo Di Pierro. The first version (1.0) was released in October, 2007. Since then it ha...
Pretty dates Pretty dates It is often useful to represent a datetime not as “2009-07-25 14:34:56” but as “one year ago”. web2py provides a utility function for this: import d...
SQLFORM.grid login required by default for data updates Multiple grids per controller function Using requests.args safely SQLFORM.grid signature Virtual fields in SQLFORM.grid...
uWSGI API - Python decorators Notes Example: a Django session cleaner and video encoder Example: web2py + spooler + timer uwsgidecorators API reference enqueue the tasks enqu...