mirror of
https://github.com/django/django.git
synced 2025-01-03 06:55:47 +00:00
Removed unneeded hyphens in "counterintuitive".
Follow-up to 65ad4ade74
which added
counterintuitive to the wordlist. Removes unneeded (antiquated)
hyphenated usages.
See e.g. https://www.merriam-webster.com/dictionary/counterintuitive
This commit is contained in:
parent
89557d4c66
commit
704192e478
@ -10,7 +10,7 @@ URL. The canonical way to enable cache middleware is to set
|
|||||||
'django.middleware.cache.FetchFromCacheMiddleware'
|
'django.middleware.cache.FetchFromCacheMiddleware'
|
||||||
]
|
]
|
||||||
|
|
||||||
This is counter-intuitive, but correct: ``UpdateCacheMiddleware`` needs to run
|
This is counterintuitive, but correct: ``UpdateCacheMiddleware`` needs to run
|
||||||
last during the response phase, which processes middleware bottom-up;
|
last during the response phase, which processes middleware bottom-up;
|
||||||
``FetchFromCacheMiddleware`` needs to run last during the request phase, which
|
``FetchFromCacheMiddleware`` needs to run last during the request phase, which
|
||||||
processes middleware top-down.
|
processes middleware top-down.
|
||||||
|
@ -111,7 +111,7 @@ There are many ways to approach writing tests.
|
|||||||
|
|
||||||
Some programmers follow a discipline called "`test-driven development`_"; they
|
Some programmers follow a discipline called "`test-driven development`_"; they
|
||||||
actually write their tests before they write their code. This might seem
|
actually write their tests before they write their code. This might seem
|
||||||
counter-intuitive, but in fact it's similar to what most people will often do
|
counterintuitive, but in fact it's similar to what most people will often do
|
||||||
anyway: they describe a problem, then create some code to solve it. Test-driven
|
anyway: they describe a problem, then create some code to solve it. Test-driven
|
||||||
development formalizes the problem in a Python test case.
|
development formalizes the problem in a Python test case.
|
||||||
|
|
||||||
|
@ -826,7 +826,7 @@ specific to SQLite that you should be aware of.
|
|||||||
Substring matching and case sensitivity
|
Substring matching and case sensitivity
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
For all SQLite versions, there is some slightly counter-intuitive behavior when
|
For all SQLite versions, there is some slightly counterintuitive behavior when
|
||||||
attempting to match some types of strings. These are triggered when using the
|
attempting to match some types of strings. These are triggered when using the
|
||||||
:lookup:`iexact` or :lookup:`contains` filters in Querysets. The behavior
|
:lookup:`iexact` or :lookup:`contains` filters in Querysets. The behavior
|
||||||
splits into two cases:
|
splits into two cases:
|
||||||
|
Loading…
Reference in New Issue
Block a user