diff mbox

Change decimal_places from 31 to 2 in frontend/tko/models.py

Message ID 1269250936-9550-1-git-send-email-fyang@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Feng Yang March 22, 2010, 9:42 a.m. UTC
None
diff mbox

Patch

diff --git a/frontend/tko/models.py b/frontend/tko/models.py
index 7348b07..abf12b2 100644
--- a/frontend/tko/models.py
+++ b/frontend/tko/models.py
@@ -231,7 +231,7 @@  class IterationResult(dbmodels.Model, model_logic.ModelExtensions):
     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,
+    value = dbmodels.DecimalField(null=True, max_digits=12, decimal_places=2,
                                   blank=True)
 
     objects = model_logic.ExtendedManager()