Changing IterationResult.value to FloatField in Django models, to match
the FLOAT type in the underlying database.
Signed-off-by: James Ren <jamesren@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4372 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/tko/models.py b/frontend/tko/models.py
index 9c68777..483eb13 100644
--- a/frontend/tko/models.py
+++ b/frontend/tko/models.py
@@ -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()