Re: Mysterious WHERE clause when updating an object

2013-07-16 Thread J. Barber
Thanks, Tom. I overlooked the primary keys. Justin On Tuesday, July 16, 2013 9:44:04 AM UTC-6, Tom Evans wrote: > > On Mon, Jul 15, 2013 at 3:05 PM, J. Barber > > wrote: > > I am having trouble updating an existing table using django on ms sql > > server. Here is the query I am using: > > >

Re: Mysterious WHERE clause when updating an object

2013-07-16 Thread Tom Evans
On Mon, Jul 15, 2013 at 3:05 PM, J. Barber wrote: > I am having trouble updating an existing table using django on ms sql > server. Here is the query I am using: > c = Candidacy.objects.get(id_num=610020956, stage__in=('150 ', '350 ')) c.enroll_dep_amt = 146 c.save() > > But t