[1.9.x] Fixed a few docstring typos.
Backport of f8d20da0479b88db5bb5a2a30fa769cbf6d0a5bf from master
This commit is contained in:
parent
c5e258eed3
commit
16691ed24c
@ -199,7 +199,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)
|
||||||
|
@ -176,7 +176,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
|
||||||
|
@ -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)
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user