old search tests not so suitable for sunbunt
[wolnelektury.git] / wolnelektury / settings / __init__.py
index f2314a9..46e61bd 100644 (file)
@@ -38,6 +38,7 @@ MIDDLEWARE_CLASSES = [
     'django.middleware.common.CommonMiddleware',
     'django.middleware.cache.FetchFromCacheMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.cache.FetchFromCacheMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
+    'realip_middleware.SetRemoteAddrFromXRealIP',
 ]
 
 ROOT_URLCONF = 'wolnelektury.urls'
 ]
 
 ROOT_URLCONF = 'wolnelektury.urls'
@@ -63,6 +64,8 @@ INSTALLED_APPS_OUR = [
     'picture',
     'social',
     'waiter',
     'picture',
     'social',
     'waiter',
+    'search',
+    'oai',
     ]
 
 INSTALLED_APPS_CONTRIB = [
     ]
 
 INSTALLED_APPS_CONTRIB = [
@@ -84,7 +87,7 @@ INSTALLED_APPS_CONTRIB = [
     'djcelery',
     'djkombu',
     'honeypot',
     'djcelery',
     'djkombu',
     'honeypot',
-    #    'django_nose',
+    #'django_nose',
 
     #allauth stuff
     'emailconfirmation',
 
     #allauth stuff
     'emailconfirmation',