mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 17:02:28 +00:00
Add Haystack index name in env vars
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
122edeef48
commit
e2679cf5e8
@ -44,7 +44,7 @@ HAYSTACK_CONNECTIONS = {
|
|||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
|
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
|
||||||
'URL': 'http://elasticsearch:9200/',
|
'URL': 'http://elasticsearch:9200/',
|
||||||
'INDEX_NAME': 'haystack',
|
'INDEX_NAME': os.getenv('HAYSTACK_INDEX_NAME', 'inscription-tfjm'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user