From: Radek Czajka Date: Thu, 12 Jan 2012 14:20:47 +0000 (+0100) Subject: changes default filesystem cache location X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/764fcc72600a23d5093511228dee596b55c45c72?ds=sidebyside;hp=-c changes default filesystem cache location --- 764fcc72600a23d5093511228dee596b55c45c72 diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index 0c5917e7e..e34b9052b 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -162,7 +162,7 @@ CACHES = { }, 'api': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', - 'LOCATION': '/srv/wolnelektury.pl/django_cache/', + 'LOCATION': path.join(PROJECT_DIR, 'django_cache/'), 'KEY_PREFIX': 'api', 'TIMEOUT': 86400, },