On Wed, 2007-05-30 at 21:49 +, [EMAIL PROTECTED] wrote:
> On May 24, 12:04 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
> > Your form-level clean method should run through all of its validation,
> > collecting the errors as it goes and then raise a ValidationError. Note
> > that Vali
On May 24, 12:04 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> Your form-level clean method should run through all of its validation,
> collecting the errors as it goes and then raise a ValidationError. Note
> that ValidationError can take a list of error messages in its
> constructor, so j
On Thu, 2007-05-24 at 08:13 +0200, Mario Graziosi wrote:
> Great, I'll do that. I didn't realized that ValidationError might get a
> list of error messages and not just a single error message.
Well, just don't tell anybody that I told you or some of the heftier
developers will take me out back a
Great, I'll do that. I didn't realized that ValidationError might get a
list of error messages and not just a single error message.
Thanks for your help, Malcom.
Malcolm Tredinnick wrote:
> On Wed, 2007-05-23 at 10:16 -0700, mario wrote:
>
>> I'm using newforms library and it is really a gre
On Wed, 2007-05-23 at 10:16 -0700, mario wrote:
> I'm using newforms library and it is really a great improvement over
> "oldforms".
>
> However, how would I report more than a single error when doing cross-
> field validation in the form clean() method?
>
> I mean, since the errors are reported
I'm using newforms library and it is really a great improvement over
"oldforms".
However, how would I report more than a single error when doing cross-
field validation in the form clean() method?
I mean, since the errors are reported by raising an exception, on the
first raised validation error
6 matches
Mail list logo