mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.8.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
Backport of 64ed8cdc9f from master
This commit is contained in:
committed by
Tim Graham
parent
5b5858575c
commit
178b8fbdcd
@@ -279,7 +279,7 @@ Example::
|
||||
|
||||
# A tuple lookup parameter is used to specify the geometry and
|
||||
# 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::
|
||||
|
||||
@@ -301,7 +301,7 @@ strings are case-insensitive.
|
||||
|
||||
Example::
|
||||
|
||||
Zipcode.objects.filter(poly__relate(geom, 'anyinteract'))
|
||||
Zipcode.objects.filter(poly__relate=(geom, 'anyinteract'))
|
||||
|
||||
Oracle SQL equivalent::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user