Fixed missing settings

This commit is contained in:
Tris 2021-03-22 10:50:18 +11:00
parent ed52f868b2
commit 0a2792cedb

View File

@ -17,7 +17,7 @@ class CachedStorage(Storage):
if not remote:
remote = getattr(settings, 'CACHED_STORAGE_REMOTE')
if not cachedir:
cachedir = getattr(settings. 'CACHED_STORAGE_DIR', 'cache')
cachedir = getattr(settings, 'CACHED_STORAGE_DIR', 'cache')
self.remote = get_storage_class(remote)()
self.cachedir = cachedir