diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-30 00:18:31 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-30 00:18:31 +0000 |
| commit | 1ba2d6888f78ddd280d5882cd31e7253ef143cbc (patch) | |
| tree | 09e78077750ce01d19a5ddcda3c2359223874267 /tests/regressiontests/model_fields | |
| parent | ab07a9b19ffdb19196c167469bd54c3fcb2110a2 (diff) | |
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
Diffstat (limited to 'tests/regressiontests/model_fields')
| -rw-r--r-- | tests/regressiontests/model_fields/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/model_fields/tests.py b/tests/regressiontests/model_fields/tests.py index 5be852f407..ff0df80067 100644 --- a/tests/regressiontests/model_fields/tests.py +++ b/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") |
