Hi i have this table

db.define_table('verbale',
            
Field('partecipants',label=T('Partecipanti'),type="text",requires=IS_LENGTH(3000)),
            Field('date_verbale_start',label=T('Data 
inizio'),type="datetime",requires=IS_DATETIME('%Y-%m-%d %H:%M:%S')),
            Field('date_verbale_end',label=T('Data 
fine'),type="datetime",requires=IS_DATETIME('%Y-%m-%d %H:%M:%S')),
        )

I send to my controller a json, I retrieve the fields and create new row 
but I have this error

ValueError: invalid literal for int() with base 10: '24/05/2016'

Why?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to