diff options
| author | YashRaj1506 <yashraj504300@gmail.com> | 2024-12-24 03:34:00 +0530 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-01-03 08:40:48 +0100 |
| commit | 12f4f95405c7857cbf2f4bf4d0261154aac31676 (patch) | |
| tree | eadbb5521430bdfdb0ed0cfc90f8a128317650fa /tests/file_storage | |
| parent | c3a681659c4a982101ffee0d3ef205ac5b310e17 (diff) | |
Fixed #35740 -- Fixed FileFieldStorageTests.test_extended_length_storage when using bcachefs.
PC_NAME_MAX on bcachefs is 512, which was greater than the file field max_length.
Diffstat (limited to 'tests/file_storage')
| -rw-r--r-- | tests/file_storage/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_storage/models.py b/tests/file_storage/models.py index cb0207cae9..12a54edda5 100644 --- a/tests/file_storage/models.py +++ b/tests/file_storage/models.py @@ -80,5 +80,5 @@ class Storage(models.Model): storage=temp_storage, upload_to="tests", max_length=20 ) extended_length = models.FileField( - storage=temp_storage, upload_to="tests", max_length=300 + storage=temp_storage, upload_to="tests", max_length=1024 ) |
