Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use Whoosh in prod for now.

  • Loading branch information...
commit 821f1ef9f7eae6d146248b5a212812fee4996cfd 1 parent f98eae0
Jacob Kaplan-Moss jacobian authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 django_website/settings/docs.py
8 django_website/settings/docs.py
View
@@ -22,9 +22,5 @@
# Haystack settings
HAYSTACK_SITECONF = 'django_website.docs.search_sites'
-if PRODUCTION:
- HAYSTACK_SEARCH_ENGINE = 'solr'
- HAYSTACK_SOLR_URL = 'http://127.0.0.1:8983/solr'
-else:
- HAYSTACK_SEARCH_ENGINE = 'whoosh'
- HAYSTACK_WHOOSH_PATH = '/tmp/djangodocs.index'
+HAYSTACK_SEARCH_ENGINE = 'whoosh'
+HAYSTACK_WHOOSH_PATH = '/tmp/djangodocs.index'
Please sign in to comment.
Something went wrong with that request. Please try again.