Re: Allow Form._clean() to specify the invalid field

2008-04-12 Thread Malcolm Tredinnick
On Thu, 2008-04-10 at 08:28 -0700, mrts wrote: [...] > The ticket has a simple patch with thorough tests and documentation, > it's a low hanging fruit ready for checkin and would help many people > (who mostly solve this by accessing _errors directly -- which is not > good as it relies on an impl

Allow Form._clean() to specify the invalid field

2008-04-10 Thread mrts
Quoting problem statement from #6652: "Currently the Form.clean() method has no way to specify which field is invalid, but it's the only place where validation involving many fields can be accomplished. Taking your example in the documentation: This is where you might put in things to check that