Commit 16691ed2 authored by Noenglish Professorbut's avatar Noenglish Professorbut Committed by Tim Graham
Browse files

[1.9.x] Fixed a few docstring typos.

Backport of f8d20da0 from master
parent c5e258ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)
        """