http://code.google.com/p/django-pyodbc/
установил pyodbc.
если установить
DATABASE_ENGINE = 'sql_server.pyodbc'
C:\djproject\mysite>manage.py syncdb
Traceback (most recent call last):
File "C:\djproject\mysite\manage.py", line 11, in <module>
execute_manager(settings)
File "C:\Python25\lib\site-packages\django\core\management\__init__.py", line
340, in execute_manager
utility.execute()
File "C:\Python25\lib\site-packages\django\core\management\__init__.py", line
295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python25\lib\site-packages\django\core\management\base.py", line 77,
in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\Python25\lib\site-packages\django\core\management\base.py", line 87,
in execute
translation.activate('en-us')
File "C:\Python25\lib\site-packages\django\utils\translation\__init__.py", lin
e 73, in activate
return real_activate(language)
File "C:\Python25\lib\site-packages\django\utils\translation\__init__.py", lin
e 43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File "C:\Python25\lib\site-packages\django\utils\translation\trans_real.py", l
ine 209, in activate
_active[currentThread()] = translation(language)
File "C:\Python25\lib\site-packages\django\utils\translation\trans_real.py", l
ine 198, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "C:\Python25\lib\site-packages\django\utils\translation\trans_real.py", l
ine 181, in _fetch
app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]), appname[p+1:
])
File "C:\Python25\lib\site-packages\django\contrib\admin\__init__.py", line 1,
in <module>
from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL
File "C:\Python25\lib\site-packages\django\contrib\admin\options.py", line 5,
in <module>
from django.contrib.contenttypes.models import ContentType
File "C:\Python25\Lib\site-packages\django\contrib\contenttypes\models.py", li
ne 1, in <module>
from django.db import models
File "C:\Python25\lib\site-packages\django\db\__init__.py", line 34, in <modul
e>
(settings.DATABASE_ENGINE, ", ".join(map(repr, available_backends)), e_user)
django.core.exceptions.ImproperlyConfigured: 'sql_server.pyodbc' isn't an availa
ble database backend. Available options are: 'dummy', 'mysql', 'oracle', 'postgr
esql', 'postgresql_psycopg2', 'sql_server', 'sqlite3'
Error was: No module named sql_server.pyodbc.base
DATABASE_ENGINE = 'sql_server'
Error: No module named sql_server.base
дайте напутствия как установить этот модуль?