Components, LOAD and Ajax LOAD LOAD signature Redirect from a component Reload page via redirect after component submission Reload another component Ajax post does not support...
An image blog Adding authentication Adding grids Configuring the layout An image blog Here, as another example, we wish to create a web application that allows the administr...
Legacy databases and keyed tables Legacy databases and keyed tables web2py can connect to legacy databases under some conditions. The easiest way is when these conditions are ...
AppConfig module AppConfig module The environment between your development and production system will almost certainly mean a different database configuration, different mail s...
File input/output File input/output In Python you can open and write in a file with: >>> file = open ( 'myfile.txt' , 'w' ) >>> file . write ( 'hello world' ) >>> f...
import os sys datetime time cPickle import The real power of Python is in its library modules. They provide a large and consistent set of Application Programming In...
Basic syntax for...in while if...elif...else try...except...else...finally def...return Basic syntax The web2py template language supports all Python control structur...
Cookies Cookies web2py uses the Python cookies modules for handling cookies. Cookies from the browser are in request.cookies and cookies sent by the server are in response.co...
The built-in web2py wiki MARKMIN basics Oembed protocol Referencing wiki content Wiki menus Service functions Extending the auth.wiki feature Components The built-in web...
Deploying on EC2 Deploying on EC2 Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable computing capacity in the cloud. It is one of the largest a...