I was inspired by this thread:
so I send you Django adapter (alpha) based on PyDB2.
This is based on Django 0.96 release. I needed django working on db2 and
did adapter by looking at code of other adapters. Module is functional in
my environment, but ... Didn't runned django tests against db2 module, so
probably lot of problems still exist.
In attachment you'll find:
- db2 folder from django.db.backends folder
- django_db2_adapter_0.96.diff - diff agains slightly modified django 0.96
I'm very glad that this project exists, finally python/sqlalchemy have
proper db2 driver. I'm hoping that you'll use this work (or not ;) ), and
fill the gap for db2-pythonists - django-db2 adapter. Continue with the
Original issue reported on code.google.com by email@example.com on 9 Apr 2008 at 1:30
Robert, as much as we appreciate your willingness to help filling the gap for
Python/Django enthusiast, this doesn't seem to be a defect you are reporting on
IBM_DB Python driver or DB-API wrapper or SQLAlchemy adapter.
If the PyDB2 driver you mention is the other "Python DB API 2.0 interface to
DB2", then you might want to post this on the SourceForge project:
BTW, do you also plan to use/support the ibm_db_dbi (DB-API 2.0 implementation
on ibm_db Python driver) ?
We also need to reiterate the need for Django implementation spec rather than
contributions we cannot take in at this time, due to current legal setup of this
project (a Contribution License Agreement would need to be provided for external
contributions to this project). See how you can help this project in getting
Original comment by apiti...@ca.ibm.com on 9 Apr 2008 at 2:33
I'm sorry if I was not very clear/correct. it is true that this is not defect,
this is not using ibm_db_dbi module at all, but I was thinking like this: if you
intend to develop db2 django adapter
contribution and additional information could help you.
Partially read the thread, and think that I understand the license problem you
mentioned (IMHO very hard restriction, doesn't sound "open" at all). If this can
help, I'll remove any legal stuff from the code I sent you.
To answer your question, I plan very soon to replace pydb2->ibm_db_dbi in
applications we use, and no, I don't intend to continue development of the code
sent you (django adapter), but if I do, then I'll be looking to use ibm_db_dbi
instead of pydb2.
Hoping that somehow you'll manage to develop good django adapter. Regards.
Original comment by firstname.lastname@example.org on 9 Apr 2008 at 2:53
Robert, just wanted to clarify, if you read the entire thread referred above,
never a license issue, the license (Apache) is a standard Open Source one, not
mention that the source code is already out there, as open as you can get:
The project can be enabled to accept external contributions from Open Source
developers that agree with a Contribution License Agreement (CLA) in order to
proper legal requirements. Such CLA is not currently setup for this project, and
until it is available, the team can make use of any public documentation and
developer guides on Django spec, but not actual source code.
Thanks for getting this started.
Original comment by apiti...@ca.ibm.com on 9 Apr 2008 at 6:47