[1.7.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
Backport of 64ed8cdc9f2f7333b2a9fd6b318f520278c39293 from master
This commit is contained in:
parent
d42cbde0c6
commit
edeb257084
@ -286,7 +286,7 @@ Example::
|
|||||||
|
|
||||||
# A tuple lookup parameter is used to specify the geometry and
|
# A tuple lookup parameter is used to specify the geometry and
|
||||||
# the intersection pattern (the pattern here is for 'contains').
|
# the intersection pattern (the pattern here is for 'contains').
|
||||||
Zipcode.objects.filter(poly__relate(geom, 'T*T***FF*'))
|
Zipcode.objects.filter(poly__relate=(geom, 'T*T***FF*'))
|
||||||
|
|
||||||
PostGIS SQL equivalent::
|
PostGIS SQL equivalent::
|
||||||
|
|
||||||
@ -308,7 +308,7 @@ strings are case-insensitive.
|
|||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
Zipcode.objects.filter(poly__relate(geom, 'anyinteract'))
|
Zipcode.objects.filter(poly__relate=(geom, 'anyinteract'))
|
||||||
|
|
||||||
Oracle SQL equivalent::
|
Oracle SQL equivalent::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user