mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #28606 -- Deprecated CachedStaticFilesStorage.
This commit is contained in:
parent
55b0b766fb
commit
f892781b95
11 changed files with 58 additions and 41 deletions
|
@ -1092,7 +1092,7 @@ class OverrideSettingsTests(SimpleTestCase):
|
|||
Overriding the STATICFILES_STORAGE setting should be reflected in
|
||||
the value of django.contrib.staticfiles.storage.staticfiles_storage.
|
||||
"""
|
||||
new_class = 'CachedStaticFilesStorage'
|
||||
new_class = 'ManifestStaticFilesStorage'
|
||||
new_storage = 'django.contrib.staticfiles.storage.' + new_class
|
||||
with self.settings(STATICFILES_STORAGE=new_storage):
|
||||
self.assertEqual(staticfiles_storage.__class__.__name__, new_class)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue