Browse files

Since max_digits and decimal_places are required on django.db.models.…

…DecimalField, one of the tests was a bit bogus. Fixed that.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent ab07a9b commit 1ba2d6888f78ddd280d5882cd31e7253ef143cbc @malcolmt malcolmt committed Jul 30, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/model_fields/tests.py
View
2 tests/regressiontests/model_fields/tests.py
@@ -3,7 +3,7 @@
# DecimalField
->>> f = DecimalField()
+>>> f = DecimalField(max_digits=4, decimal_places=2)
>>> f.to_python(3)
Decimal("3")

0 comments on commit 1ba2d68

Please sign in to comment.