[IronPython] Making adonet-dbapi's dbapi a drop-in replacement in django-mssql

Markus Törnqvist mjt at nysv.org
Tue Oct 27 13:31:47 CET 2009


On Tue, Oct 27, 2009 at 12:05:15PM +0000, Markus Törnqvist wrote:
>
>  4. Edit the sqlserver_ado\dbapi\__init__.py file so it looks like this:
>
>from common import *
>from generic import *
>
>import mssql
>
>def connect(connect_string, timeout=None):
>  return odbc.connect(connect_string)

Freud me that, of course mssql.connect(connect_string)

Sorry!

-- 
mjt




More information about the Ironpython-users mailing list