created_field = Field('created', 'datetime', writable=False)
db.define_table('product',
Field('name','string'),
Field('weight','double'),
created_field)
or:
db.define_table('product',
Field('name','string'),
Field('weight','double'),
created_field.clone(...))
With .clone()
you get a copy of the Field
object and can specify a new set of arguments to change some of its attributes.
For re-use of multiple fields, see the documentation on table inheritance.