diff --git a/django/contrib/csrf/tests.py b/django/contrib/csrf/tests.py index f00929fb282fd..3c533a01e6b98 100644 --- a/django/contrib/csrf/tests.py +++ b/django/contrib/csrf/tests.py @@ -59,7 +59,7 @@ def get_view(self): # Check the post processing def test_process_response_no_session(self): """ - Check the the post-processor does nothing if no session active + Check the post-processor does nothing if no session active """ req = self._get_GET_no_session_request() resp = self._get_post_form_response() diff --git a/django/contrib/gis/db/backend/spatialite/creation.py b/django/contrib/gis/db/backend/spatialite/creation.py index cc668eca6a98e..98367732260e8 100644 --- a/django/contrib/gis/db/backend/spatialite/creation.py +++ b/django/contrib/gis/db/backend/spatialite/creation.py @@ -15,7 +15,7 @@ def create_test_spatial_db(verbosity=1, autoclobber=False, interactive=False): if settings.DATABASE_ENGINE != 'sqlite3': raise Exception('SpatiaLite database creation only supported on sqlite3 platform.') - # Getting the test database name using the the SQLite backend's + # Getting the test database name using the SQLite backend's # `_create_test_db`. Unless `TEST_DATABASE_NAME` is defined, # it returns ":memory:". db_name = connection.creation._create_test_db(verbosity, autoclobber) diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py index 0839a620c783e..f1aecb0de56a5 100644 --- a/django/contrib/gis/geos/libgeos.py +++ b/django/contrib/gis/geos/libgeos.py @@ -30,7 +30,7 @@ else: raise ImportError('Unsupported OS "%s"' % os.name) -# Using the ctypes `find_library` utility to find the the path to the GEOS +# Using the ctypes `find_library` utility to find the path to the GEOS # shared library. This is better than manually specifiying each library name # and extension (e.g., libgeos_c.[so|so.1|dylib].). if lib_names: diff --git a/django/contrib/gis/measure.py b/django/contrib/gis/measure.py index 7f345329bce8f..37922040df764 100644 --- a/django/contrib/gis/measure.py +++ b/django/contrib/gis/measure.py @@ -41,7 +41,7 @@ class MeasureBase(object): def default_units(self, kwargs): """ - Return the unit value and the the default units specified + Return the unit value and the default units specified from the given keyword arguments dictionary. """ val = 0.0 diff --git a/django/contrib/gis/templates/gis/admin/openlayers.html b/django/contrib/gis/templates/gis/admin/openlayers.html index 0870c65562690..4292eb6474790 100644 --- a/django/contrib/gis/templates/gis/admin/openlayers.html +++ b/django/contrib/gis/templates/gis/admin/openlayers.html @@ -15,7 +15,7 @@