If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
Based on http://www.web2pyslices.com/slice/show/1446/widget-select-or-add-option made some abstractions (easier to put to action for any table) fixe ...
Quick reference for web2py ...
- What is the difference between 'reference table' and db.table when you are defining a foreign key? Thanks ...
It often happens that you have two tables (for example 'client' and 'address') which are linked together by a reference and you want to create a singl ...