Re: Possible bug in model validation

2011-02-03 Thread Karen Tracey
On Thu, Feb 3, 2011 at 12:30 PM, Miguel Araujo wrote: > Las try or I will report it as a bug as I think it is. > Your original post was a bit sparse on code/traceback details for the actual problem you observed. The only specific code you showed was the lines you added to work around the problem

Re: Possible bug in model validation

2011-02-03 Thread Miguel Araujo
Las try or I will report it as a bug as I think it is. 2011/1/28 Miguel Araujo > Well, > > I'm just trying to figure out if this should be reported. > > Thanks, regards > > > Miguel Araujo > @maraujop > > 2011/1/22 Miguel Araujo > > Hi everyone, >> >> I have a model A that has a overwritte

Re: Possible bug in model validation

2011-01-28 Thread Miguel Araujo
Well, I'm just trying to figure out if this should be reported. Thanks, regards Miguel Araujo @maraujop 2011/1/22 Miguel Araujo > Hi everyone, > > I have a model A that has a overwritten save method that updates a model > B's field. Both (A & B) have model validation using full_clean met

Possible bug in model validation

2011-01-22 Thread Miguel Araujo
Hi everyone, I have a model A that has a overwritten save method that updates a model B's field. Both (A & B) have model validation using full_clean method. Problem is that B model's validation fails when updating the field, because it raises an IntegrityError saying the primary key already exits,