summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2017-07-26 12:40:19 +0500
committerTim Graham <timograham@gmail.com>2017-07-26 08:50:56 -0400
commitf3bada9889da23ae99a86ce268122b7c9ad9f1eb (patch)
tree25b31d5755d9d240f1082df2266d87e8c215d200 /docs
parent38af496b98a82816072d5f0932c1eb886d0197b3 (diff)
Fixed #28436 -- Added support for distance lookups on MySQL.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/geoquerysets.txt6
-rw-r--r--docs/releases/2.0.txt4
2 files changed, 7 insertions, 3 deletions
diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt
index 3db95162f1..eea02f1315 100644
--- a/docs/ref/contrib/gis/geoquerysets.txt
+++ b/docs/ref/contrib/gis/geoquerysets.txt
@@ -606,7 +606,7 @@ PostGIS equivalent::
Distance Lookups
================
-*Availability*: PostGIS, Oracle, SpatiaLite, PGRaster (Native)
+*Availability*: PostGIS, Oracle, MySQL, SpatiaLite, PGRaster (Native)
For an overview on performing distance queries, please refer to
the :ref:`distance queries introduction <distance-queries>`.
@@ -639,6 +639,10 @@ spheroid based lookups.
Support for the ``'spheroid'`` option on SQLite was added.
+.. versionadded:: 2.0
+
+ MySQL support was added.
+
.. fieldlookup:: distance_gt
``distance_gt``
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index 162ac42306..0757d834f9 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -65,8 +65,8 @@ Minor features
* Added MySQL support for the
:class:`~django.contrib.gis.db.models.functions.AsGeoJSON` function,
:class:`~django.contrib.gis.db.models.functions.GeoHash` function,
- :class:`~django.contrib.gis.db.models.functions.IsValid` function, and
- :lookup:`isvalid` lookup.
+ :class:`~django.contrib.gis.db.models.functions.IsValid` function,
+ :lookup:`isvalid` lookup, and :ref:`distance lookups <distance-lookups>`.
* Added the :class:`~django.contrib.gis.db.models.functions.Azimuth` and
:class:`~django.contrib.gis.db.models.functions.LineLocatePoint` functions,