Fixed settings
This commit is contained in:
parent
0a2792cedb
commit
d5250dfd0b
@ -15,7 +15,7 @@ class CachedStorage(Storage):
|
||||
|
||||
def __init__(self, remote=None, cachedir=None, expires=600):
|
||||
if not remote:
|
||||
remote = getattr(settings, 'CACHED_STORAGE_REMOTE')
|
||||
remote = getattr(settings, 'CACHED_STORAGE_REMOTE', None)
|
||||
if not cachedir:
|
||||
cachedir = getattr(settings, 'CACHED_STORAGE_DIR', 'cache')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user