[3.0.x] Removed unnecessary code-block directives in various docs.

Backport of 5e00bd1f77 from master
This commit is contained in:
Jon Dufresne 2019-12-23 05:47:13 -08:00 committed by Mariusz Felisiak
parent 1e45b06cfd
commit eb40426259
6 changed files with 17 additions and 48 deletions

View file

@ -73,9 +73,7 @@ Here are some useful attributes of ``UploadedFile``:
.. note::
Like regular Python files, you can read the file line-by-line by iterating
over the uploaded file:
.. code-block:: python
over the uploaded file::
for line in uploadedfile:
do_something_with(line)