Commit 93452a70 authored by Josh Soref's avatar Josh Soref Committed by Tim Graham
Browse files

Fixed many spelling mistakes in code, comments, and docs.

parent b6dd0afe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ def delete_selected(modeladmin, request, queryset):
    """
    Default action which deletes the selected objects.

    This action first displays a confirmation page whichs shows all the
    This action first displays a confirmation page which shows all the
    deleteable objects, or, if the user has no permission one of the related
    childs (foreignkeys), a "permission denied" message.

+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ class PermLookupDict(object):
        return self.user.has_perm("%s.%s" % (self.app_label, perm_name))

    def __iter__(self):
        # To fix 'item in perms.someapp' and __getitem__ iteraction we need to
        # To fix 'item in perms.someapp' and __getitem__ interaction we need to
        # define __iter__. See #18979 for details.
        raise TypeError("PermLookupDict is not iterable.")

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ class PostGISGeometryColumns(models.Model):
class PostGISSpatialRefSys(models.Model, SpatialRefSysMixin):
    """
    The 'spatial_ref_sys' table from PostGIS. See the PostGIS
    documentaiton at Ch. 4.2.1.
    documentation at Ch. 4.2.1.
    """
    srid = models.IntegerField(primary_key=True)
    auth_name = models.CharField(max_length=256)
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ class GeoQuerySet(QuerySet):
          SQL function to call.

         settings:
          Dictonary of internal settings to customize for the spatial procedure.
          Dictionary of internal settings to customize for the spatial procedure.

        Public Keyword Arguments:

+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ from django.utils import six


class OGRGeomType(object):
    "Encapulates OGR Geometry Types."
    "Encapsulates OGR Geometry Types."

    wkb25bit = -2147483648

Loading