has anybody tried...

67 views
Skip to first unread message

Massimo

unread,
Jun 7, 2025, 1:25:36 AMJun 7
to py4web
has anybody tried ...

1) the new dbadmin?

rm -rf apps/_dashboard
py4web setup apps
...
install _dashboard? Y
...

2) Harp00n?

with



Tom Clerckx

unread,
Jun 8, 2025, 8:53:48 AMJun 8
to py4web

Briefly tried the new dbadmin.
I'm very happy that it is back a bit closer to the design of the dbadmin as I knew it from web2py!

So far I experienced no issues.

Thanks!

Ali

unread,
Jun 8, 2025, 5:59:48 PMJun 8
to py4web
Hi, It looks like the issues I mentioned here still exist.

-ali

Ali

unread,
Jun 8, 2025, 6:07:19 PMJun 8
to py4web
Can you please share the new changes in the dbadmin that we should test? I am assuming dbadmin is the database section of the dashboard app. Please let me know if this assumption is incorrect.

Tom Clerckx

unread,
Jun 9, 2025, 5:58:49 AMJun 9
to py4web
Hi Ali,

I just checked the behavior with the new dbadmin.
Things work fine for me.

Notes:
1)
dbadmin is indeed the database administration section of the dashboard app.

2)
In the dbadmin, the table is shown as a form. So the interests field is shown as a selectbox, making it impossible to manually insert it as [1,2] or [2,1] here.
Check if you have the latest version of the dashboard app.

test_four-table.png

3) 
Also the issue 2 that you described did not give any issue for me.
I inserted a new record via the command line:
    >>> db.test_five.insert(name="Adam")
    2
    >>> db.commit()
    >>> db.test_five[2]
    <Row {'id': 2, 'name': 'Adam', 'emails': None}>

The I successfully changed the name "Adam" to "Adams" via dbadmin
And I checked again the value on the commandline
    >>> db.test_five[2]
    <Row {'id': 2, 'name': 'Adams', 'emails': []}>

Note that the value None was changed to [] after the update. 

4)  
Note that the requires=.... validators are enforced at the form level, not at the database level.
Reply all
Reply to author
Forward
0 new messages