Skip to content

Commit

Permalink
Fixed typos in docstrings and docs.
Browse files Browse the repository at this point in the history
Signed-off-by: cuinix <[email protected]>
  • Loading branch information
cuinix authored and felixxm committed Mar 7, 2024
1 parent 9e35c8b commit 20848bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/howto/custom-file-storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/gis_tests/layermap/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def test_layermap_unique_multigeometry_fk(self):
# `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)
Expand Down
5 changes: 1 addition & 4 deletions tests/raw_query/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,7 @@ def test_pk_with_mixed_case_db_column(self):
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"),
Expand Down

0 comments on commit 20848bc

Please sign in to comment.