1
0
mirror of https://github.com/django/django.git synced 2024-12-22 00:55:44 +00:00

Fixed typos in docstrings and docs.

Signed-off-by: cuinix <915115094@qq.com>
This commit is contained in:
cuinix 2024-03-07 11:23:26 +08:00 committed by Mariusz Felisiak
parent 9e35c8b2e3
commit 20848bcf39
3 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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)

View File

@ -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"),