diff options
| author | Tom Christie | 2013-04-26 13:59:06 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-04-26 13:59:06 +0100 | 
| commit | d985aec3c9034ab1aa899e914a5ac0baf314cb3c (patch) | |
| tree | 4a6f47489a64114c2918947582c5d40b83160f99 /docs/topics/2.3-announcement.md | |
| parent | 50c6bc5762460ebd2a79b61edd534d10cb58c7e5 (diff) | |
| parent | cac669702596cdf768971267e6355fb9223a69e8 (diff) | |
| download | django-rest-framework-d985aec3c9034ab1aa899e914a5ac0baf314cb3c.tar.bz2 | |
DecimalField
Diffstat (limited to 'docs/topics/2.3-announcement.md')
| -rw-r--r-- | docs/topics/2.3-announcement.md | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/topics/2.3-announcement.md b/docs/topics/2.3-announcement.md index 0b80f5e2..554728ae 100644 --- a/docs/topics/2.3-announcement.md +++ b/docs/topics/2.3-announcement.md @@ -118,6 +118,12 @@ And would have the following entry in the urlconf:  Usage of the old-style attributes continues to be supported, but will raise a `PendingDeprecationWarning`. +## DecimalField + +2.3 introduces a `DecimalField` serializer field, which returns `Decimal` instances. + +For most cases APIs using model fields will behave as previously, however if you are using a custom renderer, not provided by REST framework, then you may now need to add support for rendering `Decimal` instances to your renderer implmentation. +  ---  # Other notes  | 
