From f79dce16bc8b326e1ab61a71f8e841495c52c6ff Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 30 Aug 2016 21:35:12 -0400 Subject: [PATCH] [1.10.x] Fixed #27145 -- Updated Storage.save() docs for refs #18899. Backport of 3f16e4df494dc9143d110b886c8e8608f9d2b584 from master --- docs/ref/files/storage.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index dd0670137c..0e8303c7af 100644 --- a/docs/ref/files/storage.txt +++ b/docs/ref/files/storage.txt @@ -221,8 +221,8 @@ The ``Storage`` class :meth:`get_available_name`. The ``content`` argument must be an instance of - :class:`django.core.files.File` or of a subclass of - :class:`~django.core.files.File`. + :class:`django.core.files.File` or a file-like object that can be + wrapped in ``File``. .. method:: size(name)