Closed mat-green closed 9 years ago
And what's the reason for having more than one connection to Cassandra?
My assumption is that you define a different connection for different keyspaces or is this incorrect?
The reverse question is a better one: what's the reason for restricting Django to just one Cassandra connection when syncdb does not?
I see your point now. This requires more than just changing one line in the source code. I'll look into this.
I guess I managed to fix this one. From now:
testproject/settings/multi_cassandra.py
for an example)Model.__keyspace__
on each model if you need to use more than one keyspace.@mat-green @danandersonasc could you guys try it and let me know if this works as expected?
I thinks it works. Closing.
Agreed, it is working. Thanks!
The indentation of line 19 in sync_cassandra seems incorrect leading to only one django_cassandra_engine database being processed.