问题
I am trying to use sqlcipher
with my Django
application. My current database is sqlite
. I am following this official github instruction to integrate sqlcipher
successfully :
https://github.com/codasus/django-sqlcipher
In, settings.py
I have already added sqlcipher
in INSTALLED_APPS
. I am having problem to set database engine to sqlcipher.backend
. Previously it was,
'ENGINE': 'django.db.backends.sqlite3',
I changed it to,
'ENGINE': 'sqlcipher.backend'
Error is showing,
Error was: No module named backend.base
Probably, I am missing something.
来源:https://stackoverflow.com/questions/45665996/set-database-engine-to-sqlcipher-in-django