Re: ModelForm unique validation is not done right IMHO.

2017-10-09 Thread Todor Velichkov
> > It does? Can you give me a link to that please? > Pard me, it does not explicitly say to set values programmatically, but that this is the place to go when fields depend on each other, and since clean is a multi-step process which does not include only field validation, but settings values

Re: ModelForm unique validation is not done right IMHO.

2017-10-09 Thread Florian Apolloner
Hi, On Monday, October 9, 2017 at 8:52:53 AM UTC+2, Todor Velichkov wrote: > > Settings values programmatically is a cumulative operation most of the > time, however when its not and things depend on each other (like your > example), then even the docs suggests than one can use the form.clean >