Now I know the problem and the solution
Let's go:
In db.py I put this:
Field('data_hora','datetime', default=now,
requires=[IS_DATETIME(format='%d-%m-%Y %H:%M'), IS_NOT_IN_DB(db,
'agenda.data_hora')], unique=True, label=T('Data/Hora')),
and in web2py_ajax.html I customize the default date
Master Massimo,
just a detail: This form still not saved a data because this error
in submit and looking in GAE dataviewer I see that the kind/table
agenda not was created / not exist.
I think in disable the requires and insert a record and after re-
enable this requires, because IMHO this r
you have corrputed data in the db. You stored something in a field
that was a "string" and now is a "date". web2py cannot get the record
out because it is not what it should be.
On May 4, 7:11 pm, Leandro - ProfessionalIT
wrote:
> Hi Friends,
>
> I'm developing a 'calendar' (agenda in portugu
3 matches
Mail list logo