| Age | Commit message (Collapse) | Author |
|
|
|
create the same directory.
Regression in 632c4ffd9cb1da273303bcd8005fff216506c795.
|
|
|
|
|
|
When running Django tests with Python warnings enabled.
|
|
|
|
|
|
|
|
|
|
TemporaryDirectory tries to delete the directory that was already removed.
|
|
|
|
|
|
|
|
|
|
These functions do nothing on Python 3.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Simon Charette for review.
|
|
This reverts commit 1b407050dd53e56686fdd3e168f8cac4f9be8306 as it
introduces a regression in the test for refs #26772.
|
|
This reverts commit a52a531a8b34f049fba11c3ee7b010af7534bf90 due to
regressions described in refs #26772.
|
|
914c72be2abb1c6dd860cb9279beaa66409ae1b2 introduced a regression that
causes saving a NamedTemporaryFile in a FileField to raise a
SuspiciousFileOperation. To remedy this, if a File has an absolute
path as a filename, use only the basename as the filename.
|
|
|
|
the Storage.
|
|
|
|
|
|
Leading slashes in the second urljoin argument will return exactly that
argument, breaking FileSystemStorage.url behavior if called with a
parameter with leading slashes.
Also added test cases for null bytes and None. Thanks to Markus for
help and review.
|
|
|
|
New Storage.get_{accessed,created,modified}_time() methods convert the
naive time from now-deprecated {accessed,created_modified}_time()
methods into aware objects in UTC if USE_TZ=True.
|
|
|
|
|
|
Thanks to Dave Voutila for the report and Tim for the review.
|
|
This is consistent with ability to reference other descriptors
on the model class (5ef0c03ae9aca99289737ba6d88a371ad95cf432).
|
|
per deprecation timeline.
|
|
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
|
|
Thanks Raphaël Hertzog for the report and help on the patch, and Tim Graham
for the review.
|
|
|
|
|
|
|
|
Dropped the DJANGO_TEST_TEMP_DIR environment variable.
Before this change, proper removal depended on the developer passing
dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
|
|
|
|
Django imports threading in many other places without fallback.
|
|
|