ModelForm validation in 1.2.3

2010-12-30 Thread Burhan
Hello: In 1.2 ModelForm validation was changed so that not only does it check the form validation, but it does validation of the model as well. I have a model that has custom validation for one of its fields, which should be unique in the table. Now I have a front end form, created by ModelFo

Re: ModelForm validation in 1.2.3

2010-12-30 Thread Ferran
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/12/10 17:25, Burhan wrote: > In 1.2.3, this logic always fails because "is_clean()" fails if an > existing customer enter's their email address. How can I do the same > using django 1.2.3? http://docs.python.org/tutorial/errors.html -BEGI

Re: ModelForm validation in 1.2.3

2010-12-30 Thread Burhan
The question is how do I get the modelform to only check for form validity, and not model validity (like it did before). I don't see what your link has to do with that. On Dec 30, 7:32 pm, Ferran wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 30/12/10 17:25, Burhan wrote: > > >