diff options
| author | Neil Lyons <stdin@neillyons.io> | 2020-11-27 05:57:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-27 06:57:20 +0100 |
| commit | e46ca51c249677c52e04db28fc0c60ae1948b3b2 (patch) | |
| tree | afaf5bac4a0c4c8305fc34fc72658fe3e340acaa /docs/ref/contrib/gis/tutorial.txt | |
| parent | 33403bf80f635577a18426bc99c8a65e31fd8dfa (diff) | |
Refs #32230 -- Fixed DataSource example in GeoDjango tutorial.
DataSource.ds_input doesn't support pathlib.Path().
Regression in 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.
Diffstat (limited to 'docs/ref/contrib/gis/tutorial.txt')
| -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 c585dd9248..2f80a18e47 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) |
