[IronPython] Django 1.1 on IronPython 2.6rc2 findings

Jeff Hardy jdhardy at gmail.com
Wed Oct 28 15:27:06 CET 2009


On Wed, Oct 28, 2009 at 7:53 AM, Seo Sanghyeon <sanxiyn at gmail.com> wrote:
>
> Indeed. The question is, what underlying Python DB-API 2 driver does
> django-mssql use? Is it http://pymssql.sourceforge.net/ ?

It uses an old, modified version to Vernon Cole's adodb library that
it ships with itself.

> On the other hand, as I understand, Django does not handle paramstyle
> difference in DB-API 2 drivers, so this is kind of a lost cause. How
> do other Django DB backends deal with the issue? SQLAlchemy,
> fortunately, handles paramstyle difference by itself.

Django always uses %s-style parameters; each backend converts that to
whatever the database driver wants (qmarks, @name, whatever).

- Jeff



More information about the Ironpython-users mailing list