mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Made cosmetic edits to docs/releases/4.2.txt.
This commit is contained in:
parent
772cd2b15b
commit
e734cccea0
@ -64,7 +64,7 @@ example::
|
|||||||
question = models.ForeignKey(
|
question = models.ForeignKey(
|
||||||
Question,
|
Question,
|
||||||
on_delete=models.CASCADE,
|
on_delete=models.CASCADE,
|
||||||
db_comment="Reference to a question"
|
db_comment="Reference to a question",
|
||||||
)
|
)
|
||||||
answer = models.TextField(db_comment="Question answer")
|
answer = models.TextField(db_comment="Question answer")
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ The Breach (HTB) paper`_.
|
|||||||
In-memory file storage
|
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.
|
non-persistent storage useful for speeding up tests by avoiding disk access.
|
||||||
|
|
||||||
Custom file storages
|
Custom file storages
|
||||||
@ -462,14 +462,14 @@ Miscellaneous
|
|||||||
* The minimum supported version of `redis-py`_ is increased from 3.0.0 to
|
* The minimum supported version of `redis-py`_ is increased from 3.0.0 to
|
||||||
3.4.0.
|
3.4.0.
|
||||||
|
|
||||||
.. _`redis-py`: https://pypi.org/project/redis/
|
|
||||||
|
|
||||||
* Manually instantiated ``WSGIRequest`` objects must be provided a file-like
|
* Manually instantiated ``WSGIRequest`` objects must be provided a file-like
|
||||||
object for ``wsgi.input``. Previously, Django was more lax than the expected
|
object for ``wsgi.input``. Previously, Django was more lax than the expected
|
||||||
behavior as specified by the WSGI specification.
|
behavior as specified by the WSGI specification.
|
||||||
|
|
||||||
* Support for ``PROJ`` < 5 is removed.
|
* Support for ``PROJ`` < 5 is removed.
|
||||||
|
|
||||||
|
.. _`redis-py`: https://pypi.org/project/redis/
|
||||||
|
|
||||||
.. _deprecated-features-4.2:
|
.. _deprecated-features-4.2:
|
||||||
|
|
||||||
Features deprecated in 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
|
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
|
JSON encoded string literals which caused ambiguity on whether string literals
|
||||||
were already encoded from database backend's perspective.
|
were already encoded from database backend's perspective.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user