diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-03-27 12:15:53 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-03-28 10:01:36 +0100 |
| commit | 609b7f112346cc572cf3a5fd1a7c9d80ab1f1b36 (patch) | |
| tree | d72ef649c3b88f4771341b29dcfd8475c974f187 /docs/ref | |
| parent | d7876fc9998452e867d9ef49cc7f5d37b5bce6e4 (diff) | |
[2.2.x] Fixed "byte string" typo in various docs and comments.
Backport of 881362986a1ee8f650752de8471a895890b71f96 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/files/uploads.txt | 2 | ||||
| -rw-r--r-- | docs/ref/request-response.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/files/uploads.txt b/docs/ref/files/uploads.txt index 4e843732a1..f67d9c9631 100644 --- a/docs/ref/files/uploads.txt +++ b/docs/ref/files/uploads.txt @@ -145,7 +145,7 @@ Custom file upload handlers **must** define the following methods: Receives a "chunk" of data from the file upload. - ``raw_data`` is a byte string containing the uploaded data. + ``raw_data`` is a bytestring containing the uploaded data. ``start`` is the position in the file where this ``raw_data`` chunk begins. diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 3ab17c08aa..4db5162e1a 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -38,7 +38,7 @@ All attributes should be considered read-only, unless stated otherwise. .. attribute:: HttpRequest.body - The raw HTTP request body as a byte string. This is useful for processing + The raw HTTP request body as a bytestring. This is useful for processing data in different ways than conventional HTML forms: binary images, XML payload etc. For processing conventional form data, use :attr:`HttpRequest.POST`. |
