Pārlūkot izejas kodu

Fixed typos in docstrings and docs.

Signed-off-by: cuinix <915115094@qq.com>
cuinix 1 gadu atpakaļ
vecāks
revīzija
20848bcf39

+ 1 - 1
docs/howto/custom-file-storage.txt

@@ -131,7 +131,7 @@ to refer to a specific storage throughout Django, to a dictionary of settings
 for that specific storage backend. The settings in the inner dictionaries are
 described fully in the :setting:`STORAGES` documentation.
 
-Storages are then accessed by alias from from the
+Storages are then accessed by alias from the
 :data:`django.core.files.storage.storages` dictionary::
 
     from django.core.files.storage import storages

+ 1 - 1
tests/gis_tests/layermap/tests.py

@@ -218,7 +218,7 @@ class LayerMapTest(TestCase):
         #  `unique='name'`: Creates models on the condition that they have
         #    unique county names; geometries from each feature however will be
         #    appended to the geometry collection of the unique model.  Thus,
-        #    all of the various islands in Honolulu county will be in in one
+        #    all of the various islands in Honolulu county will be in one
         #    database record with a MULTIPOLYGON type.
         lm = LayerMapping(County, co_shp, co_mapping, transform=False, unique="name")
         lm.save(silent=True, strict=True)

+ 1 - 4
tests/raw_query/tests.py

@@ -176,10 +176,7 @@ class RawQueryTests(TestCase):
         self.assertSuccessfulRawQuery(MixedCaseIDColumn, query, queryset)
 
     def test_order_handler(self):
-        """
-        Test of raw raw query's tolerance for columns being returned in any
-        order
-        """
+        """Raw query tolerates columns being returned in any order."""
         selects = (
             ("dob, last_name, first_name, id"),
             ("last_name, dob, first_name, id"),