If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    teddynyambe-78553  12 years ago

    Just an observation, on the fields to show in the grid the should be:

    fields = [db.contact.id, db.contact.first_name, db.contact.last_name, db.contact.date_of_birth]

     

Commented on:

This is a slice that lets the user start up with SQLFORM.grid. It has basic examples that make the job of getting started easy. The syntax for SQLFORM.grid is derived from source here [http://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#1376].

Hosting graciously provided by:
Python Anywhere