diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-06-26 16:42:31 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-06-26 15:10:55 -0400 |
| commit | 44a7b98abbec02f1a4f35662040f602fd616d0cd (patch) | |
| tree | 97ad5ee4d1e2ed9ce9272b2737947faabe6464b3 /docs | |
| parent | 964e490847011ed7beb1639f35d62b210f1f5dda (diff) | |
Fixed #27964 -- Made MySQL backend raise exception if spatial transformation is needed for query.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 2 | ||||
| -rw-r--r-- | docs/releases/2.0.txt | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index 1fb73c9c7f..7ab3c81415 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -610,6 +610,8 @@ of a queryset:: The ``contains`` and ``intersects`` lookups are just a subset of the available queries -- the :doc:`db-api` documentation has more. +.. _automatic-spatial-transformations: + Automatic Spatial Transformations --------------------------------- When doing spatial queries, GeoDjango automatically transforms diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index 37bfb48d89..cd1970f08f 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -472,6 +472,10 @@ Miscellaneous option. Add this to your existing migrations or accept an auto-generated migration for fields that use it. +* Performing queries that require :ref:`automatic spatial transformations + <automatic-spatial-transformations>` now raises ``NotImplementedError`` + on MySQL instead of silently using non-transformed geometries. + .. _deprecated-features-2.0: Features deprecated in 2.0 |
