summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/comment_tests/models.py')
-rw-r--r--tests/regressiontests/comment_tests/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/regressiontests/comment_tests/models.py b/tests/regressiontests/comment_tests/models.py
index 62f416882c..8877ea1155 100644
--- a/tests/regressiontests/comment_tests/models.py
+++ b/tests/regressiontests/comment_tests/models.py
@@ -28,3 +28,7 @@ class Entry(models.Model):
def __str__(self):
return self.title
+
+class Book(models.Model):
+ dewey_decimal = models.DecimalField(primary_key = True, decimal_places=2, max_digits=5)
+ \ No newline at end of file