diff --git a/docs/ref/contrib/gis/feeds.txt b/docs/ref/contrib/gis/feeds.txt index 72c51b57ab..49c8f97c1f 100644 --- a/docs/ref/contrib/gis/feeds.txt +++ b/docs/ref/contrib/gis/feeds.txt @@ -31,9 +31,9 @@ API Reference base class, GeoDjango's ``Feed`` class provides the following overrides. Note that these overrides may be done in multiple ways:: - from django.contrib.gis.feeds import Feed + from django.contrib.gis.feeds import Feed - class MyFeed(Feed): + class MyFeed(Feed): # First, as a class attribute. geometry = ... diff --git a/docs/ref/contrib/gis/testing.txt b/docs/ref/contrib/gis/testing.txt index e9a09097db..6e8ae89665 100644 --- a/docs/ref/contrib/gis/testing.txt +++ b/docs/ref/contrib/gis/testing.txt @@ -103,11 +103,11 @@ in :mod:`django.contrib.gis`:: 'NAME': 'geodjango', 'USER': 'geodjango', }, - 'other': { + 'other': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'other', 'USER': 'geodjango', - } + }, } SECRET_KEY = 'django_tests_secret_key' diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index 32f5cd6b30..8f597df9fb 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -81,7 +81,7 @@ file. Edit the database connection settings to match your setup:: 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'geodjango', 'USER': 'geo', - } + }, } In addition, modify the :setting:`INSTALLED_APPS` setting to include @@ -96,7 +96,7 @@ and ``world`` (your newly created application):: 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.gis', - 'world' + 'world', ] Geographic Data