mirror of
https://github.com/django/django.git
synced 2025-03-13 02:40:47 +00:00
Refs #35326 -- Made cosmetic edits to 5.1 release notes.
This commit is contained in:
parent
c201014e85
commit
480ccf9055
@ -211,9 +211,8 @@ File Storage
|
|||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
* The :attr:`~django.core.files.storage.FileSystemStorage.allow_overwrite`
|
* The :attr:`~django.core.files.storage.FileSystemStorage.allow_overwrite`
|
||||||
parameter has been added to
|
parameter of :class:`~django.core.files.storage.FileSystemStorage` allows
|
||||||
:class:`~django.core.files.storage.FileSystemStorage`, to allow saving new
|
saving new files over existing ones.
|
||||||
files over existing ones.
|
|
||||||
|
|
||||||
File Uploads
|
File Uploads
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
@ -471,8 +470,8 @@ Miscellaneous
|
|||||||
of ``condition``.
|
of ``condition``.
|
||||||
|
|
||||||
* The undocumented ``OS_OPEN_FLAGS`` property of
|
* The undocumented ``OS_OPEN_FLAGS`` property of
|
||||||
:class:`~django.core.files.storage.FileSystemStorage` has been deprecated.
|
:class:`~django.core.files.storage.FileSystemStorage` is deprecated. To allow
|
||||||
To allow overwriting files in storage, set the new
|
overwriting files in storage, set the new
|
||||||
:attr:`~django.core.files.storage.FileSystemStorage.allow_overwrite` option
|
:attr:`~django.core.files.storage.FileSystemStorage.allow_overwrite` option
|
||||||
to ``True`` instead.
|
to ``True`` instead.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user