summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-15 19:10:05 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 08:51:17 +0100
commite734cccea0811863ece6ee2d25b5f58925580d09 (patch)
treed0788cbcb73a89c032d952b488a95a4e084fd03f
parent772cd2b15b158679b9dc15fb599aa935ec7c25b1 (diff)
Made cosmetic edits to docs/releases/4.2.txt.
-rw-r--r--docs/releases/4.2.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt
index b7a3e06205..9f592b102a 100644
--- a/docs/releases/4.2.txt
+++ b/docs/releases/4.2.txt
@@ -64,7 +64,7 @@ example::
question = models.ForeignKey(
Question,
on_delete=models.CASCADE,
- db_comment="Reference to a question"
+ db_comment="Reference to a question",
)
answer = models.TextField(db_comment="Question answer")
@@ -88,7 +88,7 @@ The Breach (HTB) paper`_.
In-memory file storage
----------------------
-The new ``django.core.files.storage.InMemoryStorage`` class provides a
+The new :class:`django.core.files.storage.InMemoryStorage` class provides a
non-persistent storage useful for speeding up tests by avoiding disk access.
Custom file storages
@@ -462,14 +462,14 @@ Miscellaneous
* The minimum supported version of `redis-py`_ is increased from 3.0.0 to
3.4.0.
-.. _`redis-py`: https://pypi.org/project/redis/
-
* Manually instantiated ``WSGIRequest`` objects must be provided a file-like
object for ``wsgi.input``. Previously, Django was more lax than the expected
behavior as specified by the WSGI specification.
* Support for ``PROJ`` < 5 is removed.
+.. _`redis-py`: https://pypi.org/project/redis/
+
.. _deprecated-features-4.2:
Features deprecated in 4.2
@@ -515,7 +515,7 @@ but it should not be used for new migrations. Use
Passing encoded JSON string literals to ``JSONField`` is deprecated
-------------------------------------------------------------------
-``JSONField`` and its associated lookups and aggregates use to allow passing
+``JSONField`` and its associated lookups and aggregates used to allow passing
JSON encoded string literals which caused ambiguity on whether string literals
were already encoded from database backend's perspective.