Fixed "byte string" typo in various docs and comments.

This commit is contained in:
Mariusz Felisiak 2019-03-27 12:15:53 +01:00
parent 9ab1d55596
commit 881362986a
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`.