Changes between Version 21 and Version 22 of S3/S3ReusableField
- Timestamp:
- 06/12/14 11:38:49 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3ReusableField
v21 v22 30 30 31 31 {{{#!python 32 resourcename = "mytable" 33 tablename = "%s_%s" % (module, resourcename) 32 tablename = "mytable" 34 33 table = db.define_table(tablename, 35 34 ..., 36 person_id(), # inserts a Field("person_id") with the pre-defined parameters 35 # Insert a Field("person_id") with the pre-defined parameters: 36 person_id(), 37 37 ...) 38 38 }}}