Re: #28788: Add support for Model.clean_

2017-11-09 Thread Alasdair Nicol
On Thursday, 9 November 2017 16:57:22 UTC, Alasdair Nicol wrote: > > On Thursday, 9 November 2017 16:37:50 UTC, Matthew Pava wrote: > >> I don’t use Field.validators much myself, but it seems that the Form >> clean method also calls Field.validators, so the redundancy is already >> there in the

Re: #28788: Add support for Model.clean_

2017-11-09 Thread Alasdair Nicol
On Thursday, 9 November 2017 16:37:50 UTC, Matthew Pava wrote: > I don’t use Field.validators much myself, but it seems that the Form clean > method also calls Field.validators, so the redundancy is already there in > the Form class. For consistency’s sake, I suggest we either add > Model.clea

RE: #28788: Add support for Model.clean_

2017-11-09 Thread Matthew Pava
I don’t use Field.validators much myself, but it seems that the Form clean method also calls Field.validators, so the redundancy is already there in the Form class. For consistency’s sake, I suggest we either add Model.clean_fieldname(), or we remove Form.clean_fieldname(). Both suggestions w