@ -95,4 +95,4 @@ media
whoosh/
postgres-data/
data/
solr-4.10.2
solr-*/
@ -88,7 +88,7 @@ INSTALLED_APPS = (
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.solr_backend.SolrEngine',
'URL': 'http://127.0.0.1:8983/solr'
'URL': config('SOLR_URL', cast=str)
# ...or for multicore...
# 'URL': 'http://127.0.0.1:8983/solr/mysite',
},