  
      normal = models.FileField(storage=temp_storage, upload_to='tests')
      custom = models.FileField(storage=temp_storage, upload_to=custom_upload_to)
      random = models.FileField(storage=temp_storage, upload_to=random_upload_to)
      custom_valid_name = models.FileField(
          storage=CustomValidNameStorage(location=temp_storage_location),
          upload_to=random_upload_to,
      )
      default = models.FileField(storage=temp_storage, upload_to='tests', default='tests/default.txt')
 
</s>
    pathlib_callable = models.FileField(storage=temp_storage, upload_to=pathlib_upload_to)
  
      normal = models.FileField(storage=temp_storage, upload_to='tests')
      custom = models.FileField(storage=temp_storage, upload_to=custom_upload_to)
    pathlib_callable = models.FileField(storage=temp_storage, upload_to=pathlib_upload_to)
      random = models.FileField(storage=temp_storage, upload_to=random_upload_to)
      custom_valid_name = models.FileField(
          storage=CustomValidNameStorage(location=temp_storage_location),
          upload_to=random_upload_to,
      )
      default = models.FileField(storage=temp_storage, upload_to='tests', default='tests/default.txt')
keep keep add keep keep keep keep keep keep
 Refs #28428 -- Added test for a callable FileField.upload_to that returns pathlib.Path.
tests/file_storage/models.py