mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #19373 -- Ported Windows file locking from PyWin32 to ctypes
There wasn't any file locking under Windows unless PyWin32 was installed. This removes that (undocumented) dependency by using ctypes instead. Thanks to Anatoly Techtonik for writing the ctypes port upon which this is based.
This commit is contained in:
@@ -415,6 +415,14 @@ Email
|
||||
* The SMTP :class:`~django.core.mail.backends.smtp.EmailBackend` now accepts a
|
||||
:attr:`~django.core.mail.backends.smtp.EmailBackend.timeout` parameter.
|
||||
|
||||
File Storage
|
||||
^^^^^^^^^^^^
|
||||
|
||||
* File locking on Windows previously depended on the PyWin32 package; if it
|
||||
wasn't installed, file locking failed silently. That dependency has been
|
||||
removed, and file locking is now implemented natively on both Windows
|
||||
and Unix.
|
||||
|
||||
File Uploads
|
||||
^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user