| Age | Commit message (Collapse) | Author |
|
OverwritingStorageTests.test_save_overwrite_behavior_temp_file().
|
|
boot time.
Co-authored-by: Fabien MICHEL <fmichel@adista.fr>
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
file_storage.tests.CustomStorageTests.test_file_get_accessed_time.
Two separate calls to look up access time can result in sub-second
differences which cause the test to fail.
Also made the equivalent tests for ctime and mtime have the same
changes to ensure that they won't flake in the same way in future.
|
|
datetime.UTC was added in Python 3.11.
|
|
|
|
|
|
FileSystemStorage.OS_OPEN_FLAGS.
|
|
test_create_file_field_from_another_file_field_in_memory_storage when run in reverse.
|
|
|
|
|
|
independent from allow_overwrite.
Partially reverts 0b33a3abc2ca7d68a24f6d0772bc2b9fa603744e.
Storage.exists(name) was documented to "return False if
the name is available for a new file." but return True if
the file exists. This is ambiguous in the overwrite file
case. It will now always return whether the file exists.
Thank you to Natalia Bidart and Josh Schneier for the
review.
|
|
method.
Thanks to Josh Schneier for the report, and to Carlton Gibson and Sarah
Boyce for the reviews.
|
|
|
|
|
|
|
|
This also removes django.core.files.storage.get_storage_class().
Per deprecation timeline.
|
|
|
|
|
|
|
|
|
|
|
|
Remaining test case ensures that uses of the alias are mapped
canonically by the migration writer.
|
|
|
|
|
|
Thanks to Dennis Brinkrolf for the report.
|
|
appropriate.
|
|
broken symlink with the same name exists.
|
|
|
|
|
|
static and storage directories on Python 3.7+.
Thanks WhiteSage for the report.
|
|
Co-authored-by: miigotu <miigotu@gmail.com>
|
|
|
|
|
|
|
|
|
|
relative paths.
Thanks Florian Apolloner for reviews.
Co-authored-by: Joel Dunham <Joel.Dunham@technicalsafetybc.ca>
|
|
|
|
pathlib.Path.
|
|
|
|
exist_ok=True).
|
|
Used more specific errors (e.g. FileExistsError) as appropriate.
|
|
create the same directory.
Regression in 632c4ffd9cb1da273303bcd8005fff216506c795.
|
|
|
|
|
|
When running Django tests with Python warnings enabled.
|
|
|
|
|
|
|
|
|