Skip to content

Commit ba96379

Browse files
committed
Fixed docs spelling errors accumulated over time.
The `docs` GitHub action does not install `aspell` so the seplling checks are always passing in CI. After installing it, the following errors are reported: WARNING: internals/security.txt:50: : Spell check: runnable: Include a runnable proof of concept. WARNING: ref/contrib/postgres/search.txt:292: : Spell check: lexeme: an untrusted source. The content of each lexeme is escaped so that any. WARNING: ref/contrib/postgres/search.txt:295: : Spell check: lexemes: You can combine lexemes with other lexemes using the . WARNING: ref/contrib/postgres/search.txt:295: : Spell check: lexemes: You can combine lexemes with other lexemes using the . WARNING: ref/contrib/postgres/search.txt:314: : Spell check: Lexeme: Lexeme objects also support term weighting and prefixes:. WARNING: ref/models/database-functions.txt:1897: : Spell check: ai: 23ai/26ai (23.9) or later.. WARNING: ref/models/database-functions.txt:1897: : Spell check: ai: 23ai/26ai (23.9) or later.. WARNING: ref/models/expressions.txt:439: : Spell check: positionally: can be supplied positionally or only by keyword. For. WARNING: ref/models/fields.txt:1339: : Spell check: ai: PostgreSQL < 18 only supports persisted columns. Oracle < 23ai/26ai (23.7). WARNING: ref/models/fields.txt:1339: : Spell check: ai: PostgreSQL < 18 only supports persisted columns. Oracle < 23ai/26ai (23.7). WARNING: ref/models/fields.txt:1344: : Spell check: ai: s was added on Oracle 23ai/26ai. WARNING: ref/models/fields.txt:1344: : Spell check: ai: s was added on Oracle 23ai/26ai. WARNING: releases/4.2.21.txt:24: : Spell check: unclosed: exception if it encounters an unusually large number of unclosed opening tags.. WARNING: releases/5.1.9.txt:24: : Spell check: unclosed: exception if it encounters an unusually large number of unclosed opening tags.. WARNING: releases/5.2.1.txt:24: : Spell check: unclosed: exception if it encounters an unusually large number of unclosed opening tags.. WARNING: releases/6.1.txt:244: : Spell check: mistyped: suggestions for mistyped subcommand names and argument choices.. WARNING: releases/6.1.txt:281: : Spell check: ai: Oracle 23ai/26ai (23.7+).. WARNING: releases/6.1.txt:281: : Spell check: ai: Oracle 23ai/26ai (23.7+).. WARNING: releases/6.1.txt:343: : Spell check: durations: durations expressed in weeks (. WARNING: Found 19 misspelled words build finished with problems, 20 warnings (with warnings treated as errors). This branch adds some of the words to the allowlist, but for others I chose to rephrase the text in a more approachable manner.
1 parent fe189dc commit ba96379

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

docs/internals/security.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ the industry-standard 90 days. Confirmed vulnerabilities with a
4646
Reporting guidelines
4747
--------------------
4848

49-
Include a runnable proof of concept
50-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49+
Include a working proof of concept
50+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5151

5252
Please privately share a minimal Django project or code snippet that
5353
demonstrates the potential vulnerability. Include clear instructions on how to

docs/ref/models/expressions.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,11 @@ return type.
438438

439439
Built-in database functions (such as
440440
:class:`~django.db.models.functions.Cast`) vary in whether arguments such
441-
as ``output_field`` can be supplied positionally or only by keyword. For
442-
``output_field`` and several other cases, the input ultimately reaches
443-
``Func()`` as a keyword argument, so the advice to avoid constructing
444-
keyword arguments from untrusted user input applies as equally to these
445-
arguments as it does to ``**extra``.
441+
as ``output_field`` can be supplied as positional arguments or only by
442+
keyword. For ``output_field`` and several other cases, the input ultimately
443+
reaches ``Func()`` as a keyword argument, so the advice to avoid
444+
constructing keyword arguments from untrusted user input applies as equally
445+
to these arguments as it does to ``**extra``.
446446

447447
``Aggregate()`` expressions
448448
---------------------------

docs/releases/6.1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Management Commands
242242

243243
* Management commands now set :class:`~argparse.ArgumentParser`\'s
244244
``suggest_on_error`` argument to ``True`` by default on Python 3.14, enabling
245-
suggestions for mistyped subcommand names and argument choices.
245+
suggestions for incorrectly typed subcommand names and argument choices.
246246

247247
* The :djadmin:`loaddata` command now calls
248248
:data:`~django.db.models.signals.m2m_changed` signals with ``raw=True`` when
@@ -340,7 +340,7 @@ Utilities
340340
~~~~~~~~~
341341

342342
* :func:`~django.utils.dateparse.parse_duration` now supports ISO 8601
343-
durations expressed in weeks (``PnW``).
343+
time periods expressed in weeks (``PnW``).
344344

345345
Validators
346346
~~~~~~~~~~

docs/spelling_wordlist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ accessors
44
Aceh
55
admindocs
66
affordances
7+
ai
78
Ai
89
Alchin
910
allowlist
@@ -245,6 +246,8 @@ kwargs
245246
Kyrgyz
246247
latin
247248
lawrence
249+
lexeme
250+
lexemes
248251
Libera
249252
lifecycle
250253
lifecycles
@@ -531,6 +534,7 @@ unapplied
531534
unapplying
532535
uncategorized
533536
unclaim
537+
unclosed
534538
uncopyable
535539
unencoded
536540
unencrypted

0 commit comments

Comments
 (0)