1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.11.x] Removed nonexistent methods from File's docs.

read() and write() were removed in 68a890e79f.

Backport of 98ee57e343 from master
This commit is contained in:
Josh Schneier
2017-04-19 14:48:01 -04:00
committed by Tim Graham
parent 4a89000ccf
commit 1f1040aa54
2 changed files with 7 additions and 19 deletions

View File

@@ -777,10 +777,9 @@ the result of the :attr:`Storage.open()<django.core.files.storage.Storage.open>`
method, which may be a :class:`~django.core.files.File` object, or it may be a
custom storage's implementation of the :class:`~django.core.files.File` API.
In addition to the API inherited from
:class:`~django.core.files.File` such as :meth:`~django.core.files.File.read`
and :meth:`~django.core.files.File.write`, :class:`FieldFile` includes several
methods that can be used to interact with the underlying file:
In addition to the API inherited from :class:`~django.core.files.File` such as
``read()`` and ``write()``, :class:`FieldFile` includes several methods that
can be used to interact with the underlying file:
.. warning::