-
-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
I have multiple cassandra configurations.
my settings.py is as follows:
DATABASES = { 'db1': { 'ENGINE': 'django_cassandra_engine', 'NAME': 'keyspace1', 'HOST': 'host1', 'PORT': port1, 'OPTIONS': { 'replication': { 'strategy_class': 'SimpleStrategy', 'replication_factor': 'factor1' } } } 'db2': { 'ENGINE': 'django_cassandra_engine', 'NAME': 'keyspace2', 'HOST': 'host2', 'PORT': port2, 'OPTIONS': { 'replication': { 'strategy_class': 'SimpleStrategy', 'replication_factor': 'factor2' } } } } ...and so on
How to programmatically connect to different cassandra configurations when querying cassandra models. DB router is not working with cassandra.
Metadata
Metadata
Assignees
Labels
No labels