diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-15 05:58:54 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-18 22:12:40 +0200 |
| commit | f72f420f17c1bf6aea4022ecdb9b5f53a46597cc (patch) | |
| tree | bcba9c795159eb40ae916ce520a25c9e9d796ecf /docs/ref/files | |
| parent | 3a3e737694b89e29308e54f12faaa375226b7060 (diff) | |
Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
This also removes django.core.files.storage.get_storage_class().
Per deprecation timeline.
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/storage.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index afc2476e85..1b38fb696e 100644 --- a/docs/ref/files/storage.txt +++ b/docs/ref/files/storage.txt @@ -25,22 +25,6 @@ Django provides convenient ways to access the default storage class: :data:`~django.core.files.storage.default_storage` is an instance of the :class:`~django.core.files.storage.DefaultStorage`. -.. function:: get_storage_class(import_path=None) - - Returns a class or module which implements the storage API. - - When called without the ``import_path`` parameter ``get_storage_class`` - will return the default storage system as defined by ``default`` key in - :setting:`STORAGES`. If ``import_path`` is provided, ``get_storage_class`` - will attempt to import the class or module from the given path and will - return it if successful. An exception will be raised if the import is - unsuccessful. - - .. deprecated:: 4.2 - - The ``get_storage_class()`` function is deprecated. Use - :data:`storages` instead - The ``FileSystemStorage`` class =============================== |
