[1.9.x] Fixed a few docstring typos.

Backport of f8d20da0479b88db5bb5a2a30fa769cbf6d0a5bf from master
This commit is contained in:
Noenglish Professorbut 2016-03-11 17:17:01 -08:00 committed by Tim Graham
parent c5e258eed3
commit 16691ed24c
3 changed files with 3 additions and 3 deletions

View File

@ -199,7 +199,7 @@ class PostGISOperations(BaseSpatialOperations, DatabaseOperations):
def convert_geom(self, hex, geo_field):
"""
Converts the geometry returned from PostGIS aggretates.
Converts the geometry returned from PostGIS aggregates.
"""
if hex:
return Geometry(hex, srid=geo_field.srid)

View File

@ -176,7 +176,7 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
def geo_db_type(self, f):
"""
Returns None because geometry columnas are added via the
Returns None because geometry columns are added via the
`AddGeometryColumn` stored procedure on SpatiaLite.
"""
return None

View File

@ -38,7 +38,7 @@ class MigrationAutodetector(object):
def changes(self, graph, trim_to_apps=None, convert_apps=None, migration_name=None):
"""
Main entry point to produce a list of appliable changes.
Main entry point to produce a list of applicable changes.
Takes a graph to base names on and an optional set of apps
to try and restrict to (restriction is not guaranteed)
"""