0
0
mirror of https://github.com/django/django.git synced 2024-11-30 15:10:46 +01:00

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

View File

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