aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics/2.3-announcement.md
diff options
context:
space:
mode:
authorTom Christie2013-04-26 13:59:06 +0100
committerTom Christie2013-04-26 13:59:06 +0100
commitd985aec3c9034ab1aa899e914a5ac0baf314cb3c (patch)
tree4a6f47489a64114c2918947582c5d40b83160f99 /docs/topics/2.3-announcement.md
parent50c6bc5762460ebd2a79b61edd534d10cb58c7e5 (diff)
parentcac669702596cdf768971267e6355fb9223a69e8 (diff)
downloaddjango-rest-framework-d985aec3c9034ab1aa899e914a5ac0baf314cb3c.tar.bz2
DecimalField
Diffstat (limited to 'docs/topics/2.3-announcement.md')
-rw-r--r--docs/topics/2.3-announcement.md6
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