Re: Problem with Field errors

2009-03-29 Thread Matthew Somerville
Jack Orenstein wrote: > On Mar 29, 2009, at 9:35 AM, Matthew Somerville wrote: >> For more information, see >> http://docs.djangoproject.com/en/dev/ref/forms/validation/ > > Thanks, that's really useful to know about. This works for most of > the additional validation I need to do, but

Re: Problem with Field errors

2009-03-29 Thread Jack Orenstein
On Mar 29, 2009, at 9:35 AM, Matthew Somerville wrote: > > Jack Orenstein wrote: >> On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: >> >>> On Mar 28, 4:14 pm, Jack Orenstein wrote: My application needs to validate data from a from beyond the validation of Fields

Re: Problem with Field errors

2009-03-29 Thread Matthew Somerville
Jack Orenstein wrote: > On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: > >> On Mar 28, 4:14 pm, Jack Orenstein wrote: >>> My application needs to validate data from a from beyond the >>> validation of Fields done by django. So in my form handler, I check >>>

Re: Problem with Field errors

2009-03-28 Thread Jack Orenstein
On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: > > On Mar 28, 4:14 pm, Jack Orenstein wrote: >> My application needs to validate data from a from beyond the >> validation of Fields done by django. So in my form handler, I check >> Form.is_valid, and if that returns true,

Re: Problem with Field errors

2009-03-28 Thread Daniel Roseman
On Mar 28, 4:14 pm, Jack Orenstein wrote: > My application needs to validate data from a from beyond the   > validation of Fields done by django. So in my form handler, I check   > Form.is_valid, and if that returns true, then I do my own validation.   > In case of errors, I

Problem with Field errors

2009-03-28 Thread Jack Orenstein
My application needs to validate data from a from beyond the validation of Fields done by django. So in my form handler, I check Form.is_valid, and if that returns true, then I do my own validation. In case of errors, I attach an error message to the field, e.g.