mirror of https://github.com/django/django.git
[1.5.x] Corrected minor typos in FileUploadHandler.receive_data_chunk docs.
Backport of 6466a08
from master.
This commit is contained in:
parent
4821a99ca4
commit
11a8a7f266
|
@ -369,8 +369,8 @@ Custom file upload handlers **must** define the following methods:
|
||||||
``receive_data_chunk`` methods. In this way, one handler can be a
|
``receive_data_chunk`` methods. In this way, one handler can be a
|
||||||
"filter" for other handlers.
|
"filter" for other handlers.
|
||||||
|
|
||||||
Return ``None`` from ``receive_data_chunk`` to sort-circuit remaining
|
Return ``None`` from ``receive_data_chunk`` to short-circuit remaining
|
||||||
upload handlers from getting this chunk.. This is useful if you're
|
upload handlers from getting this chunk. This is useful if you're
|
||||||
storing the uploaded data yourself and don't want future handlers to
|
storing the uploaded data yourself and don't want future handlers to
|
||||||
store a copy of the data.
|
store a copy of the data.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue