mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[2.2.x] Fixed "byte string" typo in various docs and comments.
Backport of 881362986a
from master
This commit is contained in:
parent
d7876fc999
commit
609b7f1123
8 changed files with 11 additions and 11 deletions
|
@ -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.
|
||||
|
|
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue