excellent.
I'm using @service.jsonrpc as a decorator to controller functions and
setting service=Service(globals()) in db.py

what needs to change to move to the new approach?

p.s. the 3rd edition hardcopy arrived last week... my, how it's grown!
excellent production!

On 20 July 2011 18:20, Massimo Di Pierro <[email protected]> wrote:
> Yes. It was a problem to maintain a patched fork of simplejson and it
> used to cause conflicts. Now we have
>
> json in gluon/serializers.py which hanldes date/datetimes.
>
> On Jul 19, 11:33 am, Carl <[email protected]> wrote:
>> sometime between Web2py v1.89.1 and v1.93.2 encoder.py was changed so
>> it didn't explicitly support 'datetime'.
>>
>> my code now trips an exception about simplejson not supporting
>> datetime
>>
>> is datetime handled in a different fashion?
>

Reply via email to