Re: manager.get_or_create() issue

2007-01-30 Thread Don Arbow
On Jan 30, 2007, at 2:45 PM, Curtis W. Ruck wrote: > We have a model with a DateTimeField, and two FloatField's. These > three fields are unique_together in the database. > > Why when using get_or_create(datetimefield=someDatetimeObject, > floatfield1=float(-34.2412), floatfield2=float(1.2432)

manager.get_or_create() issue

2007-01-30 Thread Curtis W. Ruck
We have a model with a DateTimeField, and two FloatField's. These three fields are unique_together in the database. Why when using get_or_create(datetimefield=someDatetimeObject, floatfield1=float(-34.2412), floatfield2=float(1.2432)) does it not return a record in the database that has thos