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/settings.txt | |
| 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/settings.txt')
| -rw-r--r-- | docs/ref/settings.txt | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 5f8395563d..f9dac0f95a 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1329,22 +1329,6 @@ Default exception reporter filter class to be used if none has been assigned to the :class:`~django.http.HttpRequest` instance yet. See :ref:`Filtering error reports<filtering-error-reports>`. -.. setting:: DEFAULT_FILE_STORAGE - -``DEFAULT_FILE_STORAGE`` ------------------------- - -Default: ``'``:class:`django.core.files.storage.FileSystemStorage`\ ``'`` - -Default file storage class to be used for any file-related operations that don't -specify a particular storage system. See :doc:`/topics/files`. - -.. deprecated:: 4.2 - - This setting is deprecated. Starting with Django 4.2, default file storage - engine can be configured with the :setting:`STORAGES` setting under the - ``default`` key. - .. setting:: DEFAULT_FROM_EMAIL ``DEFAULT_FROM_EMAIL`` @@ -3548,27 +3532,6 @@ This would allow you to refer to the local file <a href="{% static 'downloads/polls_20101022.tar.gz' %}"> -.. setting:: STATICFILES_STORAGE - -``STATICFILES_STORAGE`` ------------------------ - -Default: ``'django.contrib.staticfiles.storage.StaticFilesStorage'`` - -The file storage engine to use when collecting static files with the -:djadmin:`collectstatic` management command. - -A ready-to-use instance of the storage backend defined in this setting -can be found under ``staticfiles`` key in ``django.core.files.storage.storages``. - -For an example, see :ref:`staticfiles-from-cdn`. - -.. deprecated:: 4.2 - - This setting is deprecated. Starting with Django 4.2, static files storage - engine can be configured with the :setting:`STORAGES` setting under the - ``staticfiles`` key. - .. setting:: STATICFILES_FINDERS ``STATICFILES_FINDERS`` @@ -3660,7 +3623,6 @@ Error reporting File uploads ------------ -* :setting:`DEFAULT_FILE_STORAGE` * :setting:`FILE_UPLOAD_HANDLERS` * :setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` * :setting:`FILE_UPLOAD_PERMISSIONS` |
