Commit 5754e97e by Maximilien Cuony

Test the presence of the plugin haystack, not haystack himself

parent 2671dbf8
...@@ -128,7 +128,7 @@ SEARCH_VIEW = getattr( ...@@ -128,7 +128,7 @@ SEARCH_VIEW = getattr(
django_settings, django_settings,
'WIKI_SEARCH_VIEW', 'WIKI_SEARCH_VIEW',
'wiki.views.article.SearchView' 'wiki.views.article.SearchView'
if not 'haystack' in django_settings.INSTALLED_APPS if not 'wiki.plugins.haystack' in django_settings.INSTALLED_APPS
else else
'wiki.plugins.haystack.views.HaystackSearchView' 'wiki.plugins.haystack.views.HaystackSearchView'
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment