diff options
| author | luz.paz <luzpaz@users.noreply.github.com> | 2018-08-01 12:55:53 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-08-01 16:09:22 -0400 |
| commit | 97e637a87fb45c4de970cca6cb783d93473c9d15 (patch) | |
| tree | f2bc4b9a102aa1277005ee469b6f7e390c925c8d /django/contrib | |
| parent | 4263cd0e095c55a1011e5bf0746d651126a8da5f (diff) | |
Fixed typos in comments and docs.
Diffstat (limited to 'django/contrib')
| -rw-r--r-- | django/contrib/auth/models.py | 2 | ||||
| -rw-r--r-- | django/contrib/gis/db/backends/postgis/operations.py | 2 | ||||
| -rw-r--r-- | django/contrib/gis/gdal/feature.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py index c4ccf5b4ef..cc4f48861a 100644 --- a/django/contrib/auth/models.py +++ b/django/contrib/auth/models.py @@ -276,7 +276,7 @@ class PermissionsMixin(models.Model): def has_module_perms(self, app_label): """ Return True if the user has any permissions in the given app label. - Use simlar logic as has_perm(), above. + Use similar logic as has_perm(), above. """ # Active superusers have all permissions. if self.is_active and self.is_superuser: diff --git a/django/contrib/gis/db/backends/postgis/operations.py b/django/contrib/gis/db/backends/postgis/operations.py index dd3fdb37b0..b6add9390a 100644 --- a/django/contrib/gis/db/backends/postgis/operations.py +++ b/django/contrib/gis/db/backends/postgis/operations.py @@ -31,7 +31,7 @@ class PostGISOperator(SpatialOperator): # geography type. self.geography = geography # Only a subset of the operators and functions are available for the - # raster type. Lookups that don't suport raster will be converted to + # raster type. Lookups that don't support raster will be converted to # polygons. If the raster argument is set to BILATERAL, then the # operator cannot handle mixed geom-raster lookups. self.raster = raster diff --git a/django/contrib/gis/gdal/feature.py b/django/contrib/gis/gdal/feature.py index db8c981312..a8aadbf883 100644 --- a/django/contrib/gis/gdal/feature.py +++ b/django/contrib/gis/gdal/feature.py @@ -94,7 +94,7 @@ class Feature(GDALBase): @property def geom_type(self): - "Return the OGR Geometry Type for this Feture." + "Return the OGR Geometry Type for this Feature." return OGRGeomType(capi.get_fd_geom_type(self._layer._ldefn)) # #### Feature Methods #### |
