search - new result layout. the css is not perfect though.
[wolnelektury.git] / wolnelektury / settings.py
index a69b050..f93f9e8 100644 (file)
@@ -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/'),