diff options
| author | Jarosław Wygoda <jaroslaw@wygoda.me> | 2022-09-11 17:33:47 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-12 09:58:36 +0100 |
| commit | 32940d390a00a30a6409282d314d617667892841 (patch) | |
| tree | 3912c57c1b553833a8a798d92a33147fb87b3f0b /docs/topics | |
| parent | 1ec3f0961fedbe01f174b78ef2805a9d4f3844b1 (diff) | |
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/files.txt | 7 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 19 |
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/topics/files.txt b/docs/topics/files.txt index eb4e655cfa..ad0dcffdd1 100644 --- a/docs/topics/files.txt +++ b/docs/topics/files.txt @@ -156,9 +156,10 @@ Behind the scenes, Django delegates decisions about how and where to store files to a file storage system. This is the object that actually understands things like file systems, opening and reading files, etc. -Django's default file storage is given by the :setting:`DEFAULT_FILE_STORAGE` -setting; if you don't explicitly provide a storage system, this is the one that -will be used. +Django's default file storage is +``'``:class:`django.core.files.storage.FileSystemStorage`\ ``'``. If you don't +explicitly provide a storage system in the ``default`` key of the +:setting:`STORAGES` setting, this is the one that will be used. See below for details of the built-in default file storage system, and see :doc:`/howto/custom-file-storage` for information on writing your own file diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 524fc85584..1ecc97a2a9 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1441,16 +1441,15 @@ when settings are changed. Django itself uses this signal to reset various data: -================================= ======================== -Overridden settings Data reset -================================= ======================== -USE_TZ, TIME_ZONE Databases timezone -TEMPLATES Template engines -SERIALIZATION_MODULES Serializers cache -LOCALE_PATHS, LANGUAGE_CODE Default translation and loaded translations -MEDIA_ROOT, DEFAULT_FILE_STORAGE Default file storage -STATIC_ROOT, STATIC_URL, STORAGES Storages configuration -================================= ======================== +============================================================================ ======================== +Overridden settings Data reset +============================================================================ ======================== +USE_TZ, TIME_ZONE Databases timezone +TEMPLATES Template engines +SERIALIZATION_MODULES Serializers cache +LOCALE_PATHS, LANGUAGE_CODE Default translation and loaded translations +DEFAULT_FILE_STORAGE, STATICFILES_STORAGE, STATIC_ROOT, STATIC_URL, STORAGES Storages configuration +============================================================================ ======================== Isolating apps -------------- |
