Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 1ba2d6888f78ddd280d5882cd31e7253ef143cbc 1 parent ab07a9b
Malcolm Tredinnick authored July 30, 2008
2  tests/regressiontests/model_fields/tests.py
@@ -3,7 +3,7 @@
3 3
 
4 4
 # DecimalField
5 5
 
6  
->>> f = DecimalField()
  6
+>>> f = DecimalField(max_digits=4, decimal_places=2)
7 7
 
8 8
 >>> f.to_python(3)
9 9
 Decimal("3")

0 notes on commit 1ba2d68

Please sign in to comment.
Something went wrong with that request. Please try again.