瀏覽代碼

Fixed typo in docs/howto/custom-file-storage.txt.

therealrinku 1 年之前
父節點
當前提交
aebedb7bd1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/howto/custom-file-storage.txt

+ 2 - 2
docs/howto/custom-file-storage.txt

@@ -85,8 +85,8 @@ Called by ``Storage.save()``. The ``name`` will already have gone through
 ``get_valid_name()`` and ``get_available_name()``, and the ``content`` will be a
 ``File`` object itself.
 
-Should return the actual name of name of the file saved (usually the ``name``
-passed in, but if the storage needs to change the file name return the new name
+Should return the actual name of the file saved (usually the ``name`` passed
+in, but if the storage needs to change the file name return the new name
 instead).
 
 .. method:: get_valid_name(name)