Fixed #35472 -- Used temporary directory in test_imagefield.NoReadTests.

This commit is contained in:
Sarah Boyce 2024-05-22 19:29:05 +02:00 committed by nessita
parent f619d31fa5
commit 7e39ae5c8c
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ if Image:
mugshot = models.ImageField(
upload_to="tests",
storage=NoReadFileSystemStorage(),
storage=NoReadFileSystemStorage(temp_storage_dir),
width_field="mugshot_width",
height_field="mugshot_height",
)