[1.8.x] Fixed some code blocks indentation in GIS docs.

Backport of dbaa1a6b59 from master
This commit is contained in:
Sergey Fedoseev 2016-02-19 14:11:01 +05:00 committed by Tim Graham
parent 3c2282c301
commit e127fbac7b
3 changed files with 6 additions and 6 deletions

View File

@ -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 = ...

View File

@ -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'

View File

@ -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