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

This commit is contained in:
therealrinku 2023-09-16 09:02:09 +05:45 committed by Mariusz Felisiak
parent 88b5b7b8e5
commit aebedb7bd1
1 changed files with 2 additions and 2 deletions

View File

@ -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 ``get_valid_name()`` and ``get_available_name()``, and the ``content`` will be a
``File`` object itself. ``File`` object itself.
Should return the actual name of name of the file saved (usually the ``name`` Should return the actual name of the file saved (usually the ``name`` passed
passed in, but if the storage needs to change the file name return the new name in, but if the storage needs to change the file name return the new name
instead). instead).
.. method:: get_valid_name(name) .. method:: get_valid_name(name)