mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[1.5.x] Fixed #17744 -- Reset default file storage with setting_changed signal
Backport of 9a0285134
from master.
This commit is contained in:
parent
5229ac20be
commit
a24ffa52d0
3 changed files with 19 additions and 16 deletions
|
@ -1594,15 +1594,16 @@ callbacks to clean up and otherwise reset state when settings are changed.
|
|||
|
||||
Django itself uses this signal to reset various data:
|
||||
|
||||
=========================== ========================
|
||||
Overriden settings Data reset
|
||||
=========================== ========================
|
||||
USE_TZ, TIME_ZONE Databases timezone
|
||||
TEMPLATE_CONTEXT_PROCESSORS Context processors cache
|
||||
TEMPLATE_LOADERS Template loaders cache
|
||||
SERIALIZATION_MODULES Serializers cache
|
||||
LOCALE_PATHS, LANGUAGE_CODE Default translation and loaded translations
|
||||
=========================== ========================
|
||||
================================ ========================
|
||||
Overriden settings Data reset
|
||||
================================ ========================
|
||||
USE_TZ, TIME_ZONE Databases timezone
|
||||
TEMPLATE_CONTEXT_PROCESSORS Context processors cache
|
||||
TEMPLATE_LOADERS Template loaders cache
|
||||
SERIALIZATION_MODULES Serializers cache
|
||||
LOCALE_PATHS, LANGUAGE_CODE Default translation and loaded translations
|
||||
MEDIA_ROOT, DEFAULT_FILE_STORAGE Default file storage
|
||||
================================ ========================
|
||||
|
||||
Emptying the test outbox
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue