mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #31989 -- Fixed return value of django.core.files.locks.lock()/unlock() on POSIX systems.
This commit is contained in:
parent
580a4341cb
commit
7be6a6a4d6
3 changed files with 28 additions and 5 deletions
|
@ -504,6 +504,10 @@ Miscellaneous
|
|||
distinguishes inherited field instances across models. Additionally, the
|
||||
ordering of such fields is now defined.
|
||||
|
||||
* The undocumented ``django.core.files.locks.lock()`` function now returns
|
||||
``False`` if the file cannot be locked, instead of raising
|
||||
:exc:`BlockingIOError`.
|
||||
|
||||
.. _deprecated-features-3.2:
|
||||
|
||||
Features deprecated in 3.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue