From 50745cc31ecd0ff76dafed2fb903d14c1b30d707 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 17 May 2009 16:45:28 +0000 Subject: [PATCH] Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code comments. Thanks kaikuehne. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10801 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/csrf/tests.py | 2 +- django/contrib/gis/db/backend/spatialite/creation.py | 2 +- django/contrib/gis/geos/libgeos.py | 2 +- django/contrib/gis/measure.py | 2 +- django/contrib/gis/templates/gis/admin/openlayers.html | 2 +- django/core/files/uploadhandler.py | 2 +- django/template/defaulttags.py | 2 +- django/test/_doctest.py | 2 +- django/utils/feedgenerator.py | 2 +- django/views/generic/create_update.py | 2 +- docs/internals/contributing.txt | 2 +- docs/ref/authbackends.txt | 2 +- docs/ref/contrib/admin/actions.txt | 2 +- tests/modeltests/get_object_or_404/models.py | 2 +- tests/regressiontests/templates/loaders.py | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) 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 @@