Changes between Version 23 and Version 24 of S3/S3ReusableField


Ignore:
Timestamp:
06/12/14 11:40:38 (10 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3ReusableField

    v23 v24  
    3131{{{#!python
    3232tablename = "mytable"
    33 table = db.define_table(tablename,
    34                         ...,
    35                         # Insert a Field("person_id") with the pre-defined parameters:
    36                         person_id(),
    37                         ...)
     33self.define_table(tablename,
     34                  ...,
     35                  # Insert a Field("person_id") with the pre-defined parameters:
     36                  person_id(),
     37                  ...)
    3838}}}
    3939