Skip to content

Commit

Permalink
Fixed typo in docs/howto/custom-file-storage.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
therealrinku authored and felixxm committed Sep 16, 2023
1 parent 88b5b7b commit aebedb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/howto/custom-file-storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aebedb7

Please sign in to comment.