  
  * ``FileSystemStorage.save()`` method now supports :class:`pathlib.Path`.
  
  File Uploads
  ~~~~~~~~~~~~
  
  * ...
  
 
</s> remove from django.core.files.storage import default_storage
 </s> add from django.core.files.storage import Storage, default_storage </s> remove from django.core.files.storage import FileSystemStorage, get_storage_class
 </s> add from django.core.files.storage import (
    FileSystemStorage, Storage as BaseStorage, get_storage_class,
)
* :class:`~django.db.models.FileField` and
  :class:`~django.db.models.ImageField` now accept a callable for ``storage``.
  This allows you to modify the used storage at runtime, selecting different
  storages for different environments, for example.

  
  * ``FileSystemStorage.save()`` method now supports :class:`pathlib.Path`.
  
* :class:`~django.db.models.FileField` and
  :class:`~django.db.models.ImageField` now accept a callable for ``storage``.
  This allows you to modify the used storage at runtime, selecting different
  storages for different environments, for example.

  File Uploads
  ~~~~~~~~~~~~
  
  * ...
  
keep keep add keep keep keep keep keep
 Fixed #28184 -- Allowed using a callable for FileField and ImageField storage. 
docs/releases/3.1.txt