I have a project which I have to develop with Django using Cassandra data base. I looked in there documentation but there is only information about mysql, sklite and postgre databases, nothing about Cassandra. I am looking for a sample way to connect Django to Cassandra:
I know i have to set the database configuration in the file setting.py:
# Add "postgresql_psycopg2", "mysql", "sqlite3" or "oracle".
"ENGINE": "django.db.backends.cassandra",
# DB name or path to database file if using sqlite3.
"NAME": "test",
# Not used with sqlite3.
"USER": "",
enter code here# Not used with sqlite3.
"PASSWORD": "",
# Set to empty string for localhost. Not used with sqlite3.
"HOST": "127.0.0.1",
but it throws an error:
Error was: No module named django_cassandra.base
Can anyone help me ?