Changes between Version 63 and Version 64 of DeveloperGuidelinesNewModule


Ignore:
Timestamp:
11/30/13 15:03:12 (8 years ago)
Author:
Pat Tressel
Comment:

Thanks to Nishant for catching this!

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesNewModule

    v63 v64  
    4848        tablename = "vms_vehicle_type"
    4949        represent = S3Represent(lookup=tablename)
    50         table = s3db.define_table(tablename,
     50        table = self.define_table(tablename,
    5151                                  Field("name",
    5252                                        requires = IS_NOT_EMPTY()
     
    7272        tablename = "vms_vehicle"
    7373        represent = S3Represent(lookup=tablename)
    74         table = s3db.define_table(tablename,
     74        table = self.define_table(tablename,
    7575                                  Field("name",
    7676                                        requires = IS_NOT_EMPTY()