summaryrefslogtreecommitdiff
path: root/tests/regressiontests/model_fields/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/model_fields/models.py')
-rw-r--r--tests/regressiontests/model_fields/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/regressiontests/model_fields/models.py b/tests/regressiontests/model_fields/models.py
index 8adf7b655b..4dcfb17bb3 100644
--- a/tests/regressiontests/model_fields/models.py
+++ b/tests/regressiontests/model_fields/models.py
@@ -69,6 +69,11 @@ class BooleanModel(models.Model):
class RenamedField(models.Model):
modelname = models.IntegerField(name="fieldname", choices=((1,'One'),))
+# This model isn't used in any test, just here to ensure it validates successfully.
+# See ticket #16570.
+class DecimalLessThanOne(models.Model):
+ d = models.DecimalField(max_digits=3, decimal_places=3)
+
###############################################################################
# FileField