Fixed settings

This commit is contained in:
Tris 2021-03-22 11:43:49 +11:00
parent 0a2792cedb
commit d5250dfd0b

View File

@ -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')