Hello Anthony,
I think I found the problem. I had generated the table with the wizard
and I had an id field in the table. I removed the id field and the
uuid didn't show in the form anymore. I assume you either have an id
field or a uuid field not both. Sorry for my clumsiness, I am a
starter.
Al
Are you saying Field('uuid', default=web2py_uuid(), readable=False,
writable=False) doesn't hide the field (it should)? Can you show more code?
Also, note that default=web2py_uuid() will only set the default value once
per request, so if your code happens to insert multiple records in the same
2 matches
Mail list logo