Re: add_constraint=False on relation fields

2009-04-07 Thread Shai Berger
On Tuesday 07 April 2009 05:52:22 Richard Smith wrote (edited to correct top-posting): > On Mon, Apr 6, 2009 at 6:15 PM, Malcolm Tredinnick wrote: > > > > On Mon, 2009-04-06 at 04:53 -0700, Adys wrote: > > > I made a small patch for my local Django install to be able to precise > > > add_constrai

Re: add_constraint=False on relation fields

2009-04-06 Thread Richard Smith
what would the use cases be? On Mon, Apr 6, 2009 at 6:15 PM, Malcolm Tredinnick wrote: > > On Mon, 2009-04-06 at 04:53 -0700, Adys wrote: > > I made a small patch for my local Django install to be able to precise > > add_constraint=False (default True, normal behaviour) to FKeys/ > > M2Ms/... >

Re: add_constraint=False on relation fields

2009-04-06 Thread Richard Smith
what would the use cases be? On Mon, Apr 6, 2009 at 6:15 PM, Malcolm Tredinnick wrote: > > On Mon, 2009-04-06 at 04:53 -0700, Adys wrote: > > I made a small patch for my local Django install to be able to precise > > add_constraint=False (default True, normal behaviour) to FKeys/ > > M2Ms/... >

Re: add_constraint=False on relation fields

2009-04-06 Thread Malcolm Tredinnick
On Mon, 2009-04-06 at 04:53 -0700, Adys wrote: > I made a small patch for my local Django install to be able to precise > add_constraint=False (default True, normal behaviour) to FKeys/ > M2Ms/... > As the tin says, it prevents index/constraint creation for that field. > I won't bother going throu