X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73ce961f14509aabfa26536f847afd28111029c6..a91eb26eb1627fbb4ca7bd15ff850e0393ca817e:/wolnelektury/settings.py?ds=inline diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index a69b0508e..f93f9e8ac 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -156,6 +156,7 @@ INSTALLED_APPS = [ 'suggest', 'picture', 'search', + 'social', ] CACHES = { @@ -165,6 +166,13 @@ CACHES = { '127.0.0.1:11211', ] }, + 'permanent': { + 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', + 'TIMEOUT': 2419200, + 'LOCATION': [ + '127.0.0.1:11211', + ] + }, 'api': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': path.join(PROJECT_DIR, 'django_cache/'),