move some imports
[wolnelektury.git] / wolnelektury / settings.py
index a69b050..f93f9e8 100644 (file)
@@ -156,6 +156,7 @@ INSTALLED_APPS = [
     'suggest',
     'picture',
     'search',
     'suggest',
     'picture',
     'search',
+    'social',
 ]
 
 CACHES = {
 ]
 
 CACHES = {
@@ -165,6 +166,13 @@ CACHES = {
             '127.0.0.1:11211',
         ]
     },
             '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/'),
     'api': {
         'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
         'LOCATION': path.join(PROJECT_DIR, 'django_cache/'),