Modified postgresql backend

2016-07-06 Thread Alexander Scherbatey
Hello, I need to create my own modified backend based on postgresql database backend, which use my wrapper for psycopg2 driver. I tried to simply subclass django.db.backends.postgresql.DatabaseWrapper and redefine DatabaseWrapper.Database class member, but faced the fact that inside the class t

Re: Modified postgresql backend

2016-07-06 Thread Tim Graham
Looks reasonable to me -- want to submit a pull request? Maybe "self." was lost in a refactoring. If you can find where that happened, it's always helpful. On Wednesday, July 6, 2016 at 10:27:41 AM UTC-4, Alexander Scherbatey wrote: > > Hello, > > I need to create my own modified backend based o