1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #35326 -- Made cosmetic edits to 5.1 release notes.

This commit is contained in:
Mariusz Felisiak 2024-05-21 10:51:20 +02:00 committed by Sarah Boyce
parent c201014e85
commit 480ccf9055

View File

@ -211,9 +211,8 @@ File Storage
~~~~~~~~~~~~
* The :attr:`~django.core.files.storage.FileSystemStorage.allow_overwrite`
parameter has been added to
:class:`~django.core.files.storage.FileSystemStorage`, to allow saving new
files over existing ones.
parameter of :class:`~django.core.files.storage.FileSystemStorage` allows
saving new files over existing ones.
File Uploads
~~~~~~~~~~~~
@ -471,8 +470,8 @@ Miscellaneous
of ``condition``.
* The undocumented ``OS_OPEN_FLAGS`` property of
:class:`~django.core.files.storage.FileSystemStorage` has been deprecated.
To allow overwriting files in storage, set the new
:class:`~django.core.files.storage.FileSystemStorage` is deprecated. To allow
overwriting files in storage, set the new
:attr:`~django.core.files.storage.FileSystemStorage.allow_overwrite` option
to ``True`` instead.