[web2py] Re: fake_migration issues

2021-02-12 Thread Dave S
On Sunday, January 31, 2021 at 3:58:21 PM UTC-8 Dave S wrote: > On Saturday, January 30, 2021 at 3:32:13 PM UTC-8 valq...@gmail.com wrote: > >> try to compare db.py from "fresh" welcome-app with your app. I have had >> a migration problem due to imports changes >> >> > Thanks! This wasn't

[web2py] auth.signature not working

2021-02-12 Thread António Ramos
hello this is my model db.define_table( 'entities', Field('uuid', length=64, default=lambda: str(uuid.uuid4())), Field('entity', 'string',length=70,required=True, label=T("Entity")), Field('description', length=100,label=T("Description"), default=""), Field('status',

[web2py] Programatically create Row

2021-02-12 Thread david...@gmail.com
I have a controller that displays confidential data from a table but want to be able to show the form publicly with some dummy data. The controller makes use of field representation and references so I basically need a Row. I can create the object I need using the table.insert() methods and