Fixes: 1) Address redundant migration logic by dropping stale migrations; 2) Cleanup swapper-based dependencies in Geo models; Extra: Streamlined database initialization by resetting all previous migrations.
14 lines
445 B
Python
14 lines
445 B
Python
from evibes.settings.base import * # noqa: F403
|
|
|
|
ELASTICSEARCH_DSL = {
|
|
'default': {
|
|
'hosts': ['http://elasticsearch:9200'],
|
|
'basic_auth': ('elastic', getenv("ELASTIC_PASSWORD")), # noqa: F405
|
|
'verify_certs': False,
|
|
'ssl_show_warn': False,
|
|
},
|
|
}
|
|
|
|
ELASTICSEARCH_DSL_AUTOSYNC = True
|
|
ELASTICSEARCH_DSL_PARALLEL = False
|
|
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = "evibes.signal_processors.SelectiveSignalProcessor"
|