mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable
This commit is contained in:
parent
7c7b855106
commit
9de9c24017
5 changed files with 39 additions and 6 deletions
|
@ -141,7 +141,9 @@ Email
|
|||
File Storage
|
||||
^^^^^^^^^^^^
|
||||
|
||||
* ...
|
||||
* :meth:`Storage.get_valid_name()
|
||||
<django.core.files.storage.Storage.get_valid_name>` is now called when
|
||||
the :attr:`~django.db.models.FileField.upload_to` is a callable.
|
||||
|
||||
File Uploads
|
||||
^^^^^^^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue