Open joaomedeiros95 opened 4 years ago
To add a default ConsistencyLevel the user just needs to add these two fields inside the Model definition:
from cassandra import ConsistencyLevel class MyModel(CustomDjangoCassandraModel): __table_name__ = "my_model" _cassandra_consistency_level_read = ConsistencyLevel.ONE _cassandra_consistency_level_write = ConsistencyLevel.ALL
To add a default ConsistencyLevel the user just needs to add these two fields inside the Model definition: