From f8d20da0479b88db5bb5a2a30fa769cbf6d0a5bf Mon Sep 17 00:00:00 2001 From: Noenglish Professorbut Date: Fri, 11 Mar 2016 17:17:01 -0800 Subject: [PATCH] Fixed a few docstring typos. --- django/contrib/gis/db/backends/postgis/operations.py | 2 +- django/contrib/gis/db/backends/spatialite/operations.py | 2 +- django/db/migrations/autodetector.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/gis/db/backends/postgis/operations.py b/django/contrib/gis/db/backends/postgis/operations.py index 8c630f5ca0..3c7cbe55b2 100644 --- a/django/contrib/gis/db/backends/postgis/operations.py +++ b/django/contrib/gis/db/backends/postgis/operations.py @@ -198,7 +198,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) diff --git a/django/contrib/gis/db/backends/spatialite/operations.py b/django/contrib/gis/db/backends/spatialite/operations.py index fcf44aa5c0..f551b67bc6 100644 --- a/django/contrib/gis/db/backends/spatialite/operations.py +++ b/django/contrib/gis/db/backends/spatialite/operations.py @@ -142,7 +142,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 diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index f28c89cc09..d5b2666575 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -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) """