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