From 35319bf12ccefe1911588493484160aa49208f89 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sat, 12 May 2018 19:37:42 +0200 Subject: Alphabetized imports in various docs. Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f. --- docs/ref/contrib/gis/tutorial.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/ref/contrib/gis/tutorial.txt') diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index 8ffa41d4a2..7c730e41aa 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -620,7 +620,7 @@ example, coordinates will be expressed in `EPSG SRID 32140`__, a coordinate system specific to south Texas **only** and in units of **meters**, not degrees:: - >>> from django.contrib.gis.geos import Point, GEOSGeometry + >>> from django.contrib.gis.geos import GEOSGeometry, Point >>> pnt = Point(954158.1, 4215137.1, srid=32140) Note that ``pnt`` may also be constructed with EWKT, an "extended" form of @@ -722,7 +722,7 @@ Let's dive right in. Create a file called ``admin.py`` inside the Next, edit your ``urls.py`` in the ``geodjango`` application folder as follows:: from django.contrib.gis import admin - from django.urls import path, include + from django.urls import include, path urlpatterns = [ path('admin/', admin.site.urls), -- cgit v1.3