#27: Support for Django
--------------------------+--------------------
Reporter: cito | Owner: darcy
Type: enhancement | Status: closed
Priority: major | Milestone: 5.0
Component: DB API 2 | Version: 4.0
Resolution: wontfix | Keywords:
--------------------------+--------------------
Changes (by cito):
* status: new => closed
* resolution: => wontfix
Comment:
I have checked this now:
Unfortunately, the psycopg2 support in Django is pretty much hardcoded and
psycopg2 cannot be easily replaced with another DB-API 2 compliant driver.
It is only possible to use another driver by creating a 3rd party database
support package with all the stuff that can be found in
`django.db.backends.postgresql` with slight adaptions for the respective
driver. It would be nice if the stuff from there could be imported and
reused (e.g. by subclassing), but the modules there do not even import
when psycopg2 is not installed. So we would need to duplicate (and then
maintain) everything that can be found there.
I currently do not see much sense in doing this, so I'm closing this.
--
Ticket URL: <http://trac.pygresql.org:8000/pgtracker/ticket/27#comment:2>
PyGreSQL <http://www.pygresql.org/>
PyGreSQL Tracker
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql