#6995 closed (wontfix)
Db2 adapter - another implementation (first is #5052)
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 0.96 |
Severity: | Keywords: | db2 | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | yes | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
(mainly copied from http://code.google.com/p/ibm-db/issues/detail?id=10)
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 release
I tried to put this ticket content as comment to ticket #5052, but it reported constantly that I'm sending spam. So I decided to open new ticket, you can merge these two tickets if you like.
It would be great all these efforts (ibm_db, #5052, this ticket) can be unified and that all of us can get one good and official django db2 adapter.
Attachments (1)
Change History (5)
comment:1 by , 17 years ago
Component: | Uncategorized → Database wrapper |
---|---|
Has patch: | set |
Keywords: | db2 added |
Needs documentation: | set |
Needs tests: | set |
Patch needs improvement: | set |
Version: | SVN → 0.96 |
by , 17 years ago
Attachment: | django_db2_adapter_0.96.zip added |
---|
comment:2 by , 17 years ago
Check following links too:
- http://groups.google.com/group/ibm_db/browse_thread/thread/18d3eec89eca7e7b
- http://code.google.com/p/ibm-db/
- http://antoniocangiano.com/2007/09/04/python-django-and-db2-status-update/
- http://antoniocangiano.com/2008/02/13/ibm-releases-db2-adapter-for-sqlalchemy/
- http://antoniocangiano.com/2007/09/19/db2-on-mac/
comment:3 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
It has been stated in django-developers here that database backends should be implemented as an independent project, and when it's seen that those have a commitment than won't leave them abandoned in django it can be proposed to integrate them.
So, you should think about implementing the db2 backend as a separate project like the MS-SQL one, and if it goes well, in some time, you can bring discussion in django-developers to integrate it.
Marking wontfix then.
comment:4 by , 16 years ago
I agree with the resolution, but just as a reference I'll put here a link to the patched pydb2 driver(maybe somebody will need it): http://sourceforge.net/tracker/index.php?func=detail&aid=2151127&group_id=67548&atid=518208
I hope you won't mind this.
Maybe later I'll start django-code project as suggested - will be implemented as separate module - like described here http://www.pointy-stick.com/blog/2007/11/11/django-tip-external-database-backends/.
db2 adapter