mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00: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:
parent
ab07a9b19f
commit
1ba2d6888f
@ -3,7 +3,7 @@
|
||||
|
||||
# DecimalField
|
||||
|
||||
>>> f = DecimalField()
|
||||
>>> f = DecimalField(max_digits=4, decimal_places=2)
|
||||
|
||||
>>> f.to_python(3)
|
||||
Decimal("3")
|
||||
|
Loading…
Reference in New Issue
Block a user