Skip to content

Commit

Permalink
make index name configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Nov 15, 2023
1 parent 82682b0 commit e4ee9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydotorg/settings/heroku.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'default': {
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
'URL': HAYSTACK_SEARCHBOX_SSL_URL,
'INDEX_NAME': 'haystack-prod',
'INDEX_NAME': config('HAYSTACK_INDEX', default='haystack-prod'),
},
}

Expand Down

0 comments on commit e4ee9ce

Please sign in to comment.