Skip to content

Commit e4ee9ce

Browse files
committed
make index name configurable
1 parent 82682b0 commit e4ee9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydotorg/settings/heroku.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'default': {
2929
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
3030
'URL': HAYSTACK_SEARCHBOX_SSL_URL,
31-
'INDEX_NAME': 'haystack-prod',
31+
'INDEX_NAME': config('HAYSTACK_INDEX', default='haystack-prod'),
3232
},
3333
}
3434

0 commit comments

Comments
 (0)