summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/gis/tutorial.txt
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-11-27 18:58:28 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-11-28 07:36:19 +0100
commitb37be072a27f3d4aaf22342a17afd0c24518ff8b (patch)
tree2fa4752ae15a74d4394086069ceee4608dd21afe /docs/ref/contrib/gis/tutorial.txt
parent3828879eee09da95bf99886c1ae182a36b1d89b3 (diff)
Fixed #32230 -- Made DataSource support pathlib.Path.
Diffstat (limited to 'docs/ref/contrib/gis/tutorial.txt')
-rw-r--r--docs/ref/contrib/gis/tutorial.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt
index 2f80a18e47..c585dd9248 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(str(world_shp))
+ >>> ds = DataSource(world_shp)
>>> print(ds)
/ ... /geodjango/world/data/TM_WORLD_BORDERS-0.3.shp (ESRI Shapefile)