Deploying on Google App Engine Configuration Running and deployment Linux Mac, Windows Configuring the handler Avoid the filesystem Memcache Datastore issues Lack of JOINs ...
Custom helpers TAG MENU Custom helpers TAG Sometimes you need to generate custom XML tags. web2py provides TAG , a universal tag generator. {{= TAG . name ( 'a' , 'b'...
Upgrading Upgrading In the “site” page of the administrative interface there is an “upgrade now” button. In case this is not feasible or does not work (for example because of a...
WSGI External middleware Internal middleware Calling WSGI applications WSGI web2py and WSGI have a love-hate relationship. Our perspective is that WSGI was developed as a pr...
Functional testing Functional testing web2py comes with a module gluon.contrib.webclient which allows functional testing of local and remote web2py applications. Actually, thi...
Services Services The W3C defines a web service as “a software system designed to support interoperable machine-to-machine interaction over a network”. This is a broad definiti...
Web frameworks Web frameworks At its most fundamental level, a web application consists of a set of programs (or functions) that are executed when the corresponding URL is visi...
Internationalization, and Pluralization with T Determining the language Translating variables Comments and multiple translations Pluralization engine Translations, pluralizati...
Fixing broken migrations Fixing broken migrations There are two common problems with migrations and there are ways to recover from them. One problem is specific with SQLite. S...
Rendering a dictionary HTML, XML, and JSON Generic views Rendering Rows Custom formats RSS CSV Rendering a dictionary HTML, XML, and JSON Consider the following action...