Fred-
I finally got around to trying this. It all worked perfectly until I
tried to access the MSSQL server from django. That fails with:
mod_wsgi (pid=27541): Exception occurred processing WSGI script
'/usr/local/motor/motor/wsgi.py'.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py",
line 243, in __call__
signals.request_started.send(sender=self.__class__)
File "/usr/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py",
line 170, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py",
line 58, in reset_queries
for conn in connections.all():
File "/usr/local/lib/python2.7/site-packages/django/db/utils.py",
line 105, in all
return [self[alias] for alias in self]
File "/usr/local/lib/python2.7/site-packages/django/db/utils.py",
line 93, in __getitem__
backend = load_backend(db['ENGINE'])
File "/usr/local/lib/python2.7/site-packages/django/db/utils.py",
line 45, in load_backend
raise ImproperlyConfigured(error_msg)
ImproperlyConfigured: 'django.db.backends.sql_server.pyodbc' isn't an
available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: No module named sql_server.pyodbc.base
Any ideas?
>
https://groups.google.com/d/msgid/django-users/52DCB372.3090403%40bristle.com.