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:
@@ -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
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user