Changes between Version 54 and Version 55 of DeveloperGuidelinesNewModule


Ignore:
Timestamp:
11/29/13 22:08:20 (8 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesNewModule

    v54 v55  
    4545        T = current.T
    4646        db = current.db
     47
     48        tablename = "vms_vehicle_type"
     49        represent = S3Represent(lookup=tablename)
     50        table = s3db.define_table(tablename,
     51                                  Field("name",
     52                                        requires = IS_NOT_EMPTY()
     53                                       ),
     54                                  *s3_meta_fields())
    4755
    4856        tablename = "vms_vehicle"