diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2011-12-17 22:10:37 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2011-12-17 22:10:37 +0000 |
| commit | b5d9ad982d8f28921d31f163e6d636a310a95922 (patch) | |
| tree | 414e0d42ec733d878a713c2e74df277140b28746 /tests/regressiontests/admin_scripts/complex_app/admin/foo.py | |
| parent | e31c43a360c5b36279b5651030f5e95fad5fc398 (diff) | |
Fixed #16850 -- Made sure we always represent Decimal instances with JS strings when serializing.
We force this when calling simplejson dump() to isolate us from changes of
default behavior to encode them with JavaScript numbers instead that could
introduce loss of precision when decoding back from JSON to Python.
Thanks Raphael Hertzog for the report and Bob Ippolito for his help.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts/complex_app/admin/foo.py')
0 files changed, 0 insertions, 0 deletions
