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 those values, and then fails with a duplicate 
key error on the unique key of those fields?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to