1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File.

Thanks Tim for the review.
This commit is contained in:
Simon Charette
2016-05-22 12:43:56 -04:00
parent 6ab0d1358f
commit 4f474607de
7 changed files with 69 additions and 33 deletions

View File

@@ -122,7 +122,9 @@ Email
File Storage
~~~~~~~~~~~~
* ...
* To make it wrappable by :class:`io.TextIOWrapper`,
:class:`~django.core.files.File` now has the ``readable()``, ``writable()``,
and ``seekable()`` methods.
File Uploads
~~~~~~~~~~~~