You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[...]
django.core.exceptions.ImproperlyConfigured: 'sqlany_django' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
u'base', u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: cannot import name BaseDatabaseClient
gperrow-SAP commented 2 days ago
Django 1.8.x is not supported by the SQL Anywhere driver. I will investigate adding support.
If I uninstall django 1.8.2 and install django 1.7 the configuration generates a different error:
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named security
I use a plain empty django project and have not added any modules, yet.
I'm afraid I don't know what the problem is. Can you post the entire error message so we can tell who's trying to load the security module? There is no security module in the sqlany-django driver, nor do we try to import one.
goblin:dbanywhere $ source dbanwhere17/.../sa_config.sh
goblin:dbanywhere $ python manage.py migrate
goblin:dbanywhere $ more test_sqlany.py
goblin:dbanywhere $ python test_sqlany.py
I use Django 1.8.5, the test file works just fine.
Please, advice.
The text was updated successfully, but these errors were encountered: