Fixed a few docstring typos.

This commit is contained in:
Noenglish Professorbut 2016-03-11 17:17:01 -08:00 committed by Tim Graham
parent 9027fac841
commit f8d20da047
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -142,7 +142,7 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
def geo_db_type(self, f): 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. `AddGeometryColumn` stored procedure on SpatiaLite.
""" """
return None 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): 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 Takes a graph to base names on and an optional set of apps
to try and restrict to (restriction is not guaranteed) to try and restrict to (restriction is not guaranteed)
""" """