From 98ee57e343206ef553de78b22be5e9a6dacb5060 Mon Sep 17 00:00:00 2001 From: Josh Schneier Date: Wed, 19 Apr 2017 14:48:01 -0400 Subject: Removed nonexistent methods from File's docs. read() and write() were removed in 68a890e79f660484d05482902663b6168f0bd71e. --- docs/ref/models/fields.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs/ref/models') diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 36b553f92c..e9e601e5c7 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -760,10 +760,9 @@ the result of the :attr:`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:: -- cgit v1.3