summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-03-27 12:15:53 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-03-28 10:01:36 +0100
commit609b7f112346cc572cf3a5fd1a7c9d80ab1f1b36 (patch)
treed72ef649c3b88f4771341b29dcfd8475c974f187 /docs/releases
parentd7876fc9998452e867d9ef49cc7f5d37b5bce6e4 (diff)
[2.2.x] Fixed "byte string" typo in various docs and comments.
Backport of 881362986a1ee8f650752de8471a895890b71f96 from master
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.5.txt4
-rw-r--r--docs/releases/1.7.1.txt2
-rw-r--r--docs/releases/1.8.txt2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt
index ed1990e30d..62d821e6b5 100644
--- a/docs/releases/1.5.txt
+++ b/docs/releases/1.5.txt
@@ -500,7 +500,7 @@ Python's copy of version 2.0.9. However, there are some incompatibilities
between other versions of ``simplejson``:
- While the ``simplejson`` API is documented as always returning unicode
- strings, the optional C implementation can return a byte string. This was
+ strings, the optional C implementation can return a bytestring. This was
fixed in Python 2.7.
- ``simplejson.JSONEncoder`` gained a ``namedtuple_as_object`` keyword
argument in version 2.2.
@@ -525,7 +525,7 @@ String types of hasher method parameters
If you have written a :ref:`custom password hasher <auth_password_storage>`,
your ``encode()``, ``verify()`` or ``safe_summary()`` methods should accept
Unicode parameters (``password``, ``salt`` or ``encoded``). If any of the
-hashing methods need byte strings, you can use the
+hashing methods need bytestrings, you can use the
:func:`~django.utils.encoding.force_bytes` utility to encode the strings.
Validation of previous_page_number and next_page_number
diff --git a/docs/releases/1.7.1.txt b/docs/releases/1.7.1.txt
index 19f669f74c..9fa2bdcd10 100644
--- a/docs/releases/1.7.1.txt
+++ b/docs/releases/1.7.1.txt
@@ -105,7 +105,7 @@ Bugfixes
causing ``IntegrityError`` (:ticket:`23611`).
* Made :func:`~django.utils.http.urlsafe_base64_decode` return the proper
- type (byte string) on Python 3 (:ticket:`23333`).
+ type (bytestring) on Python 3 (:ticket:`23333`).
* :djadmin:`makemigrations` can now serialize timezone-aware values
(:ticket:`23365`).
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index fa6e458aaf..01f250e3b0 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -1111,7 +1111,7 @@ Miscellaneous
(or 200M, before 1.7.2) to 500M.
* ``reverse()`` and ``reverse_lazy()`` now return Unicode strings instead of
- byte strings.
+ bytestrings.
* The ``CacheClass`` shim has been removed from all cache backends.
These aliases were provided for backwards compatibility with Django 1.3.