Fixed #8023 -- Allow filtering of DecimalFields (in models) using strings.
commit46036833a68daecb5774a95f7c0a89b50d67f784
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Wed, 30 Jul 2008 00:18:49 +0000 (30 00:18 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Wed, 30 Jul 2008 00:18:49 +0000 (30 00:18 +0000)
tree1c37103e4c6bd691c9d564231222e412ad7a6d26
parentaa09770db02216f2293d002bf72eac63d7d34215
Fixed #8023 -- Allow filtering of DecimalFields (in models) using strings.

At the same time, checked all other cases of db_prep_value() to ensure they
aren't making the same mistake.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/db/models/fields/__init__.py
tests/regressiontests/model_fields/models.py