Why do I get this error? The code causing this error:
from uuid import uuid4
signature = db.Table(db, 'signature',
Field('uuid', length=64, default=uuid.uuid4(),
notnull=True,
writable=False, unique=True),
Field('created_on', 'datetime', default=request.now,
readable = False, writable = False),
Field('created_by', db.auth_user, default=auth.user_id,
readable = False, writable = False),
Field('updated_on', 'datetime', default=request.now,
readable = False, writable = False),
Field('updated_by', db.auth_user, update=auth.user_id,
readable = False, writable = False)
)
Johann
--
May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord! His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
2 Pet. 1:2b,3a