On Wed, Oct 28, 2009 at 7:53 AM, Seo Sanghyeon <sanx...@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
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to