Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 1ba2d6888f78ddd280d5882cd31e7253ef143cbc 1 parent ab07a9b
@malcolmt malcolmt authored
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")
Please sign in to comment.
Something went wrong with that request. Please try again.