Commit 26929101 authored by Moayad Mardini's avatar Moayad Mardini Committed by Tim Graham
Browse files

[1.7.x] Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below

The paragraph was a copy of strictly_above.

Backport of 2f43229c from master
parent 0f84037e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -492,16 +492,16 @@ strictly_below

*Availability*: PostGIS

Tests if the geometry field's bounding box is strictly above the lookup
Tests if the geometry field's bounding box is strictly below the lookup
geometry's bounding box.

Example::

    Zipcode.objects.filter(poly__strictly_above=geom)
    Zipcode.objects.filter(poly__strictly_below=geom)

PostGIS equivalent::

    SELECT ... WHERE poly |>> geom
    SELECT ... WHERE poly <<| geom


.. _distance-lookups: