Browse Source

Faz mudanças sugeridas

pull/1064/head
Eduardo Calil 9 years ago
parent
commit
12c854c6e4
  1. 2
      .gitignore
  2. 2
      sapl/settings.py

2
.gitignore

@ -95,4 +95,4 @@ media
whoosh/ whoosh/
postgres-data/ postgres-data/
data/ data/
solr-4.10.2 solr-*/

2
sapl/settings.py

@ -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',
}, },

Loading…
Cancel
Save