Commit 1a1a8235 authored by Noenglish Professorbut's avatar Noenglish Professorbut Committed by Tim Graham
Browse files

[1.8.x] Fixed a few docstring typos.

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