[web2py] Re: scheduler gives and error about datetime

2020-06-24 Thread Dave S
On Wednesday, June 17, 2020 at 6:41:32 AM UTC-7, Pierre wrote: > > Gooday, > In the controler the function works correctly. But as a task, it gives an > error about Json not beeing able to deal with datetime. > any suggestion would be appreciated :) > > here is the error : TypeError: datetime.

Re: [web2py] How to sort a smartgrid with your own custom sorted id list

2020-06-24 Thread Serge Bourgeois
Have you tried the orderby option of the smartgrid? Example of conctent: orderby = dict(t_prj_doc_item= [ db.t_prj_doc_item.f_sequence, db.t_prj_doc_item.id]), Le mardi 23 juin 2020 à 00:48:54 UTC+2, roge...@gmail.com a écrit : > The only thing that comes to mind is to put your sort data into th

[web2py] modules: NameError("name 'reload' is not defined",)

2020-06-24 Thread Serge Bourgeois
I have an issue saving my modues with the last version of web2py. Is there something I do wrong? Context: Ubuntu 18.04 / web2py version 2.20.4 / python 3.6.9 How to reproduce this issue (a bug??) with a simple example: In the applications examples, create a module (for instance empty.py) Then