[2.2.x] Fixed "byte string" typo in various docs and comments.

Backport of 881362986a from master
This commit is contained in:
Mariusz Felisiak 2019-03-27 12:15:53 +01:00
parent d7876fc999
commit 609b7f1123
No known key found for this signature in database
GPG key ID: 2EF56372BA48CD1B
8 changed files with 11 additions and 11 deletions

View file

@ -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.

View file

@ -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`.