diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-02-10 01:40:43 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-02-10 01:40:43 +0000 |
| commit | 8d381acb24f3114b9cf560391671ad1274b4bfaa (patch) | |
| tree | de2483f77dd16323a0445dc6d2a0a6c9f51d42c2 /docs/ref/contrib/gis/tutorial.txt | |
| parent | e41647a52241c441fe8a5579a89d24e8aad55c0b (diff) | |
Made some small tweaks to GeoDjango docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/contrib/gis/tutorial.txt')
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index f1f53993fd..84111d3557 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -72,7 +72,7 @@ create the database from a :ref:`spatial database template $ createuser --createdb geo $ exit - Replace ``geo`` to correspond to the system login user name will be + Replace ``geo`` with the system login user name that will be connecting to the database. For example, ``johndoe`` if that is the system user that will be running GeoDjango. @@ -177,7 +177,7 @@ shapefiles (or other vector data sources): using driver `ESRI Shapefile' successful. 1: TM_WORLD_BORDERS-0.3 (Polygon) -Here ``ogrinfo`` is telling us that the shapefile has one layer, and that +Here ``ogrinfo`` is telling us that the shapefile has one layer, and that such layer contains polygon data. To find out more we'll specify the layer name and use the ``-so`` option to get only important summary information: @@ -355,7 +355,7 @@ tutorial, then we can determine the path using Python's built-in ``os`` module:: >>> import os - >>> from geodjango import world + >>> import world >>> world_shp = os.path.abspath(os.path.join(os.path.dirname(world.__file__), ... 'data/TM_WORLD_BORDERS-0.3.shp')) |
