mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Alphabetized imports in various docs.
Follow-up ofd97cce3409
and7d3fe36c62
.
This commit is contained in:
parent
1b7d524cfa
commit
35319bf12c
36 changed files with 71 additions and 71 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue