[1.9.x] Fixed #25632 -- Documented missing version requirements for GeoDjango DB functions.

Backport of 0bd067d095 from master
This commit is contained in:
Sergey Fedoseev 2015-10-29 14:53:31 +05:00 committed by Tim Graham
parent 848a0674c4
commit d11f63ca92
1 changed files with 4 additions and 4 deletions

View File

@ -197,7 +197,7 @@ Distance
.. class:: Distance(expr1, expr2, spheroid=None, **extra) .. class:: Distance(expr1, expr2, spheroid=None, **extra)
*Availability*: MySQL, PostGIS, Oracle, SpatiaLite *Availability*: MySQL (≥ 5.6.1), PostGIS, Oracle, SpatiaLite
Accepts two geographic fields or expressions and returns the distance between Accepts two geographic fields or expressions and returns the distance between
them, as a :class:`~django.contrib.gis.measure.Distance` object. On MySQL, a raw them, as a :class:`~django.contrib.gis.measure.Distance` object. On MySQL, a raw
@ -332,7 +332,7 @@ Perimeter
.. class:: Perimeter(expression, **extra) .. class:: Perimeter(expression, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite *Availability*: PostGIS, Oracle, SpatiaLite (≥ 4.0)
Accepts a single geographic field or expression and returns the perimeter of the Accepts a single geographic field or expression and returns the perimeter of the
geometry field as a :class:`~django.contrib.gis.measure.Distance` object. On geometry field as a :class:`~django.contrib.gis.measure.Distance` object. On
@ -375,7 +375,7 @@ SnapToGrid
.. class:: SnapToGrid(expression, *args, **extra) .. class:: SnapToGrid(expression, *args, **extra)
*Availability*: PostGIS, SpatiaLite *Availability*: PostGIS, SpatiaLite (≥ 3.1)
Accepts a single geographic field or expression and returns a geometry with all Accepts a single geographic field or expression and returns a geometry with all
points snapped to the given grid. How the geometry is snapped to the grid points snapped to the given grid. How the geometry is snapped to the grid
@ -434,7 +434,7 @@ Union
.. class:: Union(expr1, expr2, **extra) .. class:: Union(expr1, expr2, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite *Availability*: MySQL (≥ 5.6.1), PostGIS, Oracle, SpatiaLite
Accepts two geographic fields or expressions and returns the union of both Accepts two geographic fields or expressions and returns the union of both
geometries. geometries.