summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShai Berger <shai@platonix.com>2016-01-26 00:50:46 +0200
committerTim Graham <timograham@gmail.com>2016-02-09 10:04:54 -0500
commitbb51dc902dc760b6fd03b860335fd99f47e2e13d (patch)
tree88a42d1a13d52e5cb725f959163484f8be343f90 /docs
parent75143fa13f4f1ad2be84a103f7ce0eef9d06d3b4 (diff)
Refs #26112 -- Fixed aggregate GIS test on Oracle.
Made sure the test doesn't try to aggregate over MultiPolygonField and made AreaField turn decimals into floats on the way from the DB. Thanks Daniel Wiesmann, Jani Tiainen, and Tim Graham for review and discussion.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.10.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 0e7381a972..fd2b1a5d40 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -353,7 +353,10 @@ Backwards incompatible changes in 1.10
Database backend API
--------------------
-* ...
+* GIS's ``AreaField`` uses an unspecified underlying numeric type that could in
+ practice be any numeric Python type. ``decimal.Decimal`` values retrieved
+ from the database are now converted to ``float`` to make it easier to combine
+ them with values used by the GIS libraries.
``select_related()`` prohibits non-relational fields for nested relations
-------------------------------------------------------------------------
@@ -515,6 +518,10 @@ Miscellaneous
argument of the ``render_options()`` method is also removed, making
``selected_choices`` the first argument.
+* On Oracle/GIS, the :class:`~django.contrib.gis.db.models.functions.Area`
+ aggregate function now returns a ``float`` instead of ``decimal.Decimal``.
+ (It's still wrapped in a measure of square meters.)
+
.. _deprecated-features-1.10:
Features deprecated in 1.10