Fixed missing settings
This commit is contained in:
parent
ed52f868b2
commit
0a2792cedb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user