瀏覽代碼

Fixed #27145 -- Updated Storage.save() docs for refs #18899.

Tim Graham 8 年之前
父節點
當前提交
3f16e4df49
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/ref/files/storage.txt

+ 2 - 2
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)