1
0
mirror of https://github.com/django/django.git synced 2025-01-09 01:46:20 +00:00

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.
This commit is contained in:
YashRaj1506 2024-12-24 03:34:00 +05:30 committed by Sarah Boyce
parent c3a681659c
commit 12f4f95405

View File

@ -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
)