diff options
| author | Sławomir Ehlert <slafs.e@gmail.com> | 2015-05-06 15:51:01 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-05-06 09:59:10 -0400 |
| commit | 178b8fbdcd522d881afbc0ee6e69890da9168f93 (patch) | |
| tree | 55a0b000e1fc2b9f950fc36d91ee34136cf0fb80 | |
| parent | 5b5858575c96719d928b0df03e6aff272f849e44 (diff) | |
[1.8.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
Backport of 64ed8cdc9f2f7333b2a9fd6b318f520278c39293 from master
| -rw-r--r-- | docs/ref/contrib/gis/geoquerysets.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt index ae99b3e67b..779f6e48a4 100644 --- a/docs/ref/contrib/gis/geoquerysets.txt +++ b/docs/ref/contrib/gis/geoquerysets.txt @@ -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:: |
