mirror of
https://github.com/django/django.git
synced 2025-02-28 11:34:28 +00:00
[4.2.x] Fixed typo in docs/howto/custom-file-storage.txt.
Backport of aebedb7bd1bd9774823d15cc1041dcdce6fb172a from main
This commit is contained in:
parent
ff26e6ad84
commit
d485aa2732
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user