I figured it out.
Details:
I had set environment variable PYTHONPATH to help Django
find the sql_server.pyodbc files needed to make a connection
to a Microsoft SQL Server DB. This was keeping SQLite from
working properly. When I cleared the environment variable,
SQLite works fine.
I now get
If you are running inside a virtualenv, assure you have the sqlite3 module
installed inside the v-env, or run toggleglobalsitepackages inside the v-env.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
I'm getting error:
django.core.exceptions.ImproperlyConfigured:
Error loading either pysqlite2 or sqlite3 modules
(tried in that order): cannot import name dbapi2
Any suggestions?
Details:
My settings.py contains:
DATABASE = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
3 matches
Mail list logo