Kaydet (Commit) 1ba2d688 authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Since max_digits and decimal_places are required on…

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
üst ab07a9b1
......@@ -3,7 +3,7 @@
# DecimalField
>>> f = DecimalField()
>>> f = DecimalField(max_digits=4, decimal_places=2)
>>> f.to_python(3)
Decimal("3")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment