Re: Re-thinking model validation

2008-10-07 Thread mrts
On Oct 7, 12:08 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-10-06 at 15:27 -0700, mrts wrote: > resolution on updates. The multiple simultaneous writes to the exact > same piece of data is only one corner of the full domain space. We plan > for the worst, but often optimise fo

Re: Re-thinking model validation

2008-10-07 Thread Malcolm Tredinnick
On Mon, 2008-10-06 at 15:27 -0700, mrts wrote: > On Oct 6, 2:03 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: [...] > > The only time there's any kind of overlap is when there's a database > > constraint such as uniqueness which we cannot guarantee will remain true > > between the validatio

Re: Re-thinking model validation

2008-10-06 Thread mrts
On Oct 6, 2:03 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-10-05 at 14:11 -0700, mrts wrote: > > Looking at the path Honza has taken [1], it looks that it both > > complicates things and causes overhead -- for every constraint on > > an model object, an extra db call for check

Re: Re-thinking model validation

2008-10-05 Thread Malcolm Tredinnick
On Sun, 2008-10-05 at 14:11 -0700, mrts wrote: > Looking at the path Honza has taken [1], it looks that it both > complicates things and causes overhead -- for every constraint on > an model object, an extra db call for checking it is made, > instead of relying on the constraint checks enforced b

Re-thinking model validation

2008-10-05 Thread mrts
Looking at the path Honza has taken [1], it looks that it both complicates things and causes overhead -- for every constraint on an model object, an extra db call for checking it is made, instead of relying on the constraint checks enforced by the db backend and corresponding exceptions during `sa

Re: Re-thinking model validation

2008-10-05 Thread mrts
mrts wrote: > Looking at the path Honza has taken [1], it looks that it both And the missing reference is [1] http://code.djangoproject.com/ticket/6845 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django develope