Search Posts

Tag: SQLFORM.factory

web2py tutorial: Show user ID as name instead of integer

This web2py tutorial shows these main concepts: How to represent an integer quantity in the database, such as a user ID, as a string How to use multiple tables in a form How to use something other than a default SQLFORM widget These concepts are illustrated by creating a highly simplified tasks database consisting of nothing but a description and a title. When you create a record, you assign the task to an existing user […]