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
This commit is contained in:
Malcolm Tredinnick 2008-07-30 00:18:31 +00:00
parent ab07a9b19f
commit 1ba2d6888f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# DecimalField # DecimalField
>>> f = DecimalField() >>> f = DecimalField(max_digits=4, decimal_places=2)
>>> f.to_python(3) >>> f.to_python(3)
Decimal("3") Decimal("3")