Commit eaddd0a7bec91caeee1f9f1429a5d3d4923376e0

Authored by Sergio Oliveira
1 parent a89ed19d

Added solr settings for colab

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
cookbooks/colab/templates/00-custom_settings.py.erb
... ... @@ -35,3 +35,10 @@ ROBOTS_NOINDEX = False
35 35 COLAB_HOME_URL = '/social'
36 36  
37 37 GOOGLE_ANALYTICS_TRACKING_ID = "<%= node['config']['google_analytics_id'] %>"
  38 +
  39 +HAYSTACK_CONNECTIONS = {
  40 + 'default': {
  41 + 'ENGINE': 'haystack.backends.solr_backend.SolrEngine',
  42 + 'URL': 'http://localhost:8983/solr/',
  43 + }
  44 +}
... ...