Sorry for the long reply time (I am working at two jobs and didn't have time
to get to it yet).
I can supply the following simple example:
the data model is:
db.define_table("timestamps",
Field("by", db.auth_user),
Field("at", "datetime", default=request.now))
and the controller function is:
Sorry for the long reply time (I am working at two jobs and didn't have time
to get to it yet).
I can supply the following simple example:
the data model is:
db.define_table("timestamps",
Field("by", db.auth_user),
Field("at", "datetime", default=request.now))
and the controller function is:
This thread might be relevant:
https://groups.google.com/d/topic/web2py/1N0TwMOgp3o/discussion - have you
started using detect_types? (if not, you should!)
This thread might also be relevant:
https://groups.google.com/d/topic/web2py/RuBOLSyDc40/discussion - as_list
and as_dict (if you use them
Can you provide a simple example to reproduce the problem?
Massimo
On Mar 29, 8:48 am, Omri Har-Shemesh wrote:
> Hey,
>
> I have a problem with datetime json serialization. I am using the DAL with
> sqlite, and accessing web2py using JSONRPC.
> Today I started getting an error when trying to pas
4 matches
Mail list logo