summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2016-02-19 14:11:01 +0500
committerTim Graham <timograham@gmail.com>2016-02-19 08:35:57 -0500
commite127fbac7bd93308fbd6df1cd912116d7e283ea8 (patch)
tree0797b0ad89a6553b9b7673b57351377b72f163fe
parent3c2282c30171103de5aa27664d2da8d33e1ad32f (diff)
[1.8.x] Fixed some code blocks indentation in GIS docs.
Backport of dbaa1a6b59b4f8f942e8378465aaeb943c3d9de5 from master
-rw-r--r--docs/ref/contrib/gis/feeds.txt4
-rw-r--r--docs/ref/contrib/gis/testing.txt4
-rw-r--r--docs/ref/contrib/gis/tutorial.txt4
3 files changed, 6 insertions, 6 deletions
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 bdd46e9806..17eeeac65c 100644
--- a/docs/ref/contrib/gis/testing.txt
+++ b/docs/ref/contrib/gis/testing.txt
@@ -132,11 +132,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 8220732c10..5b0a0f3f96 100644
--- a/docs/ref/contrib/gis/tutorial.txt
+++ b/docs/ref/contrib/gis/tutorial.txt
@@ -107,7 +107,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
@@ -122,7 +122,7 @@ and ``world`` (your newly created application)::
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.gis',
- 'world'
+ 'world',
)
Geographic Data