Mercurial > public > sg101
diff gpp/settings.py @ 219:26ee684c2033
Initial commit of Haystack search integration. See #51.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 Jun 2010 20:46:52 +0000 |
parents | 8c1832b9d815 |
children | 423c39ee44e0 |
line wrap: on
line diff
--- a/gpp/settings.py Tue Jun 01 05:16:40 2010 +0000 +++ b/gpp/settings.py Sat Jun 05 20:46:52 2010 +0000 @@ -128,6 +128,7 @@ 'django.contrib.sites', 'elsewhere', 'tagging', + 'haystack', 'accounts', 'antispam', 'bio', @@ -201,6 +202,14 @@ MAX_TAG_LENGTH = 50 ####################################################################### +# Haystack Search Settings +####################################################################### +HAYSTACK_SITECONF = 'gpp.search_sites' +HAYSTACK_SEARCH_ENGINE = 'xapian' +HAYSTACK_XAPIAN_PATH = os.path.join(project_path, 'xapian_index') + + +####################################################################### # GPP Specific Settings ####################################################################### GPP_LOG_LEVEL = 0