[web2py] Re: ondelete attribute missing in 2.17.2

2018-11-04 Thread Massimo Di Pierro
It has not changed. I think you have a typo Field('preventivo',db.Preventivi,requires=IS_EMPTY_OR(IS_IN_DB(db, 'Preventivi.id'))),ondelete='SET NULL') should be Field('preventivo',db.Preventivi,requires=IS_EMPTY_OR(IS_IN_DB(db, 'Preventivi.id')),ondelete='SET NULL') On Sunday, 4 November 20

[web2py] Re: ondelete attribute missing in 2.17.2

2018-11-04 Thread Ivan Gazzola
Sorry, I've found typo and removed message but you've been faster :) I don't know why but the previous wrong syntax worked without problems for months on the previous version ... Thx Massimo! Il giorno domenica 4 novembre 2018 22:07:41 UTC+1, Massimo Di Pierro ha scritto: > > It has not chan