From 6fe26bd3ee75a6d804ca3861181ad61b1cca45ea Mon Sep 17 00:00:00 2001 From: Kevin Christopher Henry Date: Tue, 17 Sep 2013 21:34:45 -0400 Subject: 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. --- docs/releases/1.7.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 1fe2b25ecf..5cd2570552 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -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 ^^^^^^^^^^^^ -- cgit v1.3