From 764fcc72600a23d5093511228dee596b55c45c72 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 12 Jan 2012 15:20:47 +0100 Subject: [PATCH] changes default filesystem cache location --- wolnelektury/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, -- 2.20.1