From 3790eedc2f48c725c586b8c7b924875fedbeb7b4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Apr 2013 20:00:42 -0400 Subject: getting ready to push --- scannerjammer/settings.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'scannerjammer/settings.py') diff --git a/scannerjammer/settings.py b/scannerjammer/settings.py index 5bb6083..a03d23e 100644 --- a/scannerjammer/settings.py +++ b/scannerjammer/settings.py @@ -55,7 +55,7 @@ USE_I18N = True USE_L10N = True # If you set this to False, Django will not use timezone-aware datetimes. -USE_TZ = True +USE_TZ = False # Absolute filesystem path to the directory that will hold user-uploaded files. # Example: "/home/media/media.lawrence.com/media/" @@ -130,6 +130,7 @@ INSTALLED_APPS = ( 'django.contrib.messages', 'django.contrib.staticfiles', 'django_evolution', + 'haystack', 'backend', 'frontend', # Uncomment the next line to enable the admin: @@ -178,3 +179,13 @@ SERVER_PORT = 80 SESSION_COOKIE_DOMAIN=".scannerjammer.com" USE_X_FORWARDED_HOST=True + +HAYSTACK_CONNECTIONS = { + 'default': { + 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', + 'URL': 'http://127.0.0.1:9200/', + 'INDEX_NAME': 'haystack', + }, +} +#HAYSTACK_SITECONF='backend.haystack' +#HAYSTACK_SEARCH_ENGINE='elasticsearch' -- cgit v1.2.3-70-g09d2