mirror of
https://github.com/django/django.git
synced 2025-01-09 09:55:57 +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:
parent
c3a681659c
commit
12f4f95405
@ -80,5 +80,5 @@ class Storage(models.Model):
|
|||||||
storage=temp_storage, upload_to="tests", max_length=20
|
storage=temp_storage, upload_to="tests", max_length=20
|
||||||
)
|
)
|
||||||
extended_length = models.FileField(
|
extended_length = models.FileField(
|
||||||
storage=temp_storage, upload_to="tests", max_length=300
|
storage=temp_storage, upload_to="tests", max_length=1024
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user