Re: Assigning to a model attribute with F()

2009-07-23 Thread Ivan Sagalaev
Zachary Voase wrote: > I just found out that a particular Django ORM trick [1] seems to work > just fine but is undocumented. By the way... While it may be really neat it doesn't quite "eliminates a lot of the race conditions" as you write. If you're incrementing a field in several parallel tra

Re: Assigning to a model attribute with F()

2009-07-22 Thread Russell Keith-Magee
On Thu, Jul 23, 2009 at 7:56 AM, Zachary Voase wrote: > > I just found out that a particular Django ORM trick [1] seems to work > just fine but is undocumented. > > Could I ask what the official status is with regards to this ‘trick’? > Is it intentional? Also, since there isn’t any documentation

Assigning to a model attribute with F()

2009-07-22 Thread Zachary Voase
I just found out that a particular Django ORM trick [1] seems to work just fine but is undocumented. Could I ask what the official status is with regards to this ‘trick’? Is it intentional? Also, since there isn’t any documentation for it, if it is in fact an intended feature, would you like me t