Changing IterationResult.value to FloatField in Django models, to match
the FLOAT type in the underlying database.

Signed-off-by: James Ren <[email protected]>

--- autotest/frontend/tko/models.py     2010-03-31 14:51:21.000000000 -0700
+++ autotest/frontend/tko/models.py     2010-03-31 15:56:45.000000000 -0700
@@ -233,8 +233,7 @@
     test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True)
     iteration = dbmodels.IntegerField()
     attribute = dbmodels.CharField(max_length=90)
-    value = dbmodels.DecimalField(null=True, max_digits=12, decimal_places=31,
-                                  blank=True)
+    value = dbmodels.FloatField(null=True, blank=True)
 
     objects = model_logic.ExtendedManager()
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to