summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2020-04-30 10:33:04 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-13 09:14:04 +0200
commitfeb91dbda13974f84eac52dccdc0de1ddb636616 (patch)
treea05ef9071d8201a4218509e7293864ad6d2965df /docs/releases
parenta9337b4add01e50ed8ff8d3ef44099a08cba475c (diff)
Used :mimetype: role in various docs.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.11.txt4
-rw-r--r--docs/releases/1.5.txt10
-rw-r--r--docs/releases/1.7.txt4
3 files changed, 10 insertions, 8 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index f45e7ba38f..805476c348 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -275,8 +275,8 @@ Email
headers in the local time zone rather than in UTC.
* ``EmailMessage.attach()`` and ``attach_file()`` now fall back to MIME type
- ``application/octet-stream`` when binary content that can't be decoded as
- UTF-8 is specified for a ``text/*`` attachment.
+ :mimetype:`application/octet-stream` when binary content that can't be
+ decoded as UTF-8 is specified for a :mimetype:`text/*` attachment.
File Storage
~~~~~~~~~~~~
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt
index c647464432..553e5156eb 100644
--- a/docs/releases/1.5.txt
+++ b/docs/releases/1.5.txt
@@ -424,11 +424,11 @@ Non-form data in HTTP requests
:attr:`request.POST <django.http.HttpRequest.POST>` will no longer include data
posted via HTTP requests with non form-specific content-types in the header.
In prior versions, data posted with content-types other than
-``multipart/form-data`` or ``application/x-www-form-urlencoded`` would still
-end up represented in the :attr:`request.POST <django.http.HttpRequest.POST>`
-attribute. Developers wishing to access the raw POST data for these cases,
-should use the :attr:`request.body <django.http.HttpRequest.body>` attribute
-instead.
+:mimetype:`multipart/form-data` or
+:mimetype:`application/x-www-form-urlencoded` would still end up represented in
+the :attr:`request.POST <django.http.HttpRequest.POST>` attribute. Developers
+wishing to access the raw POST data for these cases, should use the
+:attr:`request.body <django.http.HttpRequest.body>` attribute instead.
:data:`~django.core.signals.request_finished` signal
----------------------------------------------------
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index db3f6720ea..98f6578bba 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -557,7 +557,9 @@ Email
~~~~~
* :func:`~django.core.mail.send_mail` now accepts an ``html_message``
- parameter for sending a multipart ``text/plain`` and ``text/html`` email.
+ parameter for sending a multipart :mimetype:`text/plain` and
+ :mimetype:`text/html` email.
+
* The SMTP :class:`~django.core.mail.backends.smtp.EmailBackend` now accepts a
``timeout`` parameter.