Re: Best Way To Update Multiple Fields In Model

2011-03-16 Thread octopusgrabbus
This seems to fit the bill just fine. DrReadRange.objects.update(reading_width_days=read_range_in) On Mar 16, 9:28 am, octopusgrabbus wrote: > Django 1.2 > mod_wsgi > Python 2.6.6 > > When I create an object of a model of a table, what is the best way to > update two columns? I can update one ea

Best Way To Update Multiple Fields In Model

2011-03-16 Thread octopusgrabbus
Django 1.2 mod_wsgi Python 2.6.6 When I create an object of a model of a table, what is the best way to update two columns? I can update one easily, but not two of them. I also noted the model, does not list the third key, at least that I can recognize. What am I asking is what constructs should