mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #32233 -- Cleaned-up duplicate connection functionality.
This commit is contained in:
committed by
Mariusz Felisiak
parent
0f00560d45
commit
98e05ccde4
@@ -28,7 +28,8 @@ def clear_cache_handlers(**kwargs):
|
||||
if kwargs['setting'] == 'CACHES':
|
||||
from django.core.cache import caches, close_caches
|
||||
close_caches()
|
||||
caches._caches = Local()
|
||||
caches._settings = caches.settings = caches.configure_settings(None)
|
||||
caches._connections = Local()
|
||||
|
||||
|
||||
@receiver(setting_changed)
|
||||
|
||||
Reference in New Issue
Block a user