diff options
| author | cuinix <915115094@qq.com> | 2024-03-07 11:23:26 +0800 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-03-07 06:01:01 +0100 |
| commit | 20848bcf39de891bcf865b47f6f5f550e3f21958 (patch) | |
| tree | 95b3a95ccd8780690629ca8a5848286c91b71f71 | |
| parent | 9e35c8b2e37ab228b169e63a71f7221e4e85f3da (diff) | |
Fixed typos in docstrings and docs.
Signed-off-by: cuinix <915115094@qq.com>
| -rw-r--r-- | docs/howto/custom-file-storage.txt | 2 | ||||
| -rw-r--r-- | tests/gis_tests/layermap/tests.py | 2 | ||||
| -rw-r--r-- | tests/raw_query/tests.py | 5 |
3 files changed, 3 insertions, 6 deletions
diff --git a/docs/howto/custom-file-storage.txt b/docs/howto/custom-file-storage.txt index 3cc96cce84..4c9d164a0a 100644 --- a/docs/howto/custom-file-storage.txt +++ b/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 diff --git a/tests/gis_tests/layermap/tests.py b/tests/gis_tests/layermap/tests.py index 283149eafc..6cc903f3ad 100644 --- a/tests/gis_tests/layermap/tests.py +++ b/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) diff --git a/tests/raw_query/tests.py b/tests/raw_query/tests.py index 1dcc7ce740..853b7ee20e 100644 --- a/tests/raw_query/tests.py +++ b/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"), |
