diff options
| author | Neil Lyons <stdin@neillyons.io> | 2020-11-27 05:57:20 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-11-27 07:00:30 +0100 |
| commit | 3a70c362ec4c3150ee02ee139d6b58c203ae58c5 (patch) | |
| tree | b80e97cde20801b70289ba9f81a6af57fd9aa2c6 | |
| parent | a7935fe9424fed9401e4c0a2a54e234007cf30da (diff) | |
[3.1.x] Refs #32230 -- Fixed DataSource example in GeoDjango tutorial.
DataSource.ds_input doesn't support pathlib.Path().
Regression in 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.
Backport of e46ca51c249677c52e04db28fc0c60ae1948b3b2 from master
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index 2de931e28d..362743a500 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -331,7 +331,7 @@ Now, open the world borders shapefile using GeoDjango's :class:`~django.contrib.gis.gdal.DataSource` interface:: >>> from django.contrib.gis.gdal import DataSource - >>> ds = DataSource(world_shp) + >>> ds = DataSource(str(world_shp)) >>> print(ds) / ... /geodjango/world/data/TM_WORLD_BORDERS-0.3.shp (ESRI Shapefile) |
