          Support for :class:`pathlib.Path` was added.
  
  .. attribute:: FileField.storage
  
      A storage object, which handles the storage and retrieval of your
      files. See :doc:`/topics/files` for details on how to provide this object.
  
  The default form widget for this field is a
  :class:`~django.forms.ClearableFileInput`.
  
  Using a :class:`FileField` or an :class:`ImageField` (see below) in a model
 
</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,
)
    A storage object, or a callable which returns a storage object. This
    handles the storage and retrieval of your files. See :doc:`/topics/files`
    for details on how to provide this object.

    .. versionchanged:: 3.1

        The ability to provide a callable was added.
          Support for :class:`pathlib.Path` was added.
  
  .. attribute:: FileField.storage
  
    A storage object, or a callable which returns a storage object. This
    handles the storage and retrieval of your files. See :doc:`/topics/files`
    for details on how to provide this object.

    .. versionchanged:: 3.1

        The ability to provide a callable was added.
    A storage object, or a callable which returns a storage object. This
    handles the storage and retrieval of your files. See :doc:`/topics/files`
    for details on how to provide this object.

    .. versionchanged:: 3.1

        The ability to provide a callable was added.
  
  The default form widget for this field is a
  :class:`~django.forms.ClearableFileInput`.
  
  Using a :class:`FileField` or an :class:`ImageField` (see below) in a model
keep keep keep keep replace replace keep keep keep keep keep
 Fixed #28184 -- Allowed using a callable for FileField and ImageField storage. 
docs/ref/models/fields.txt