I want to create a Django project with DB PostgreSQL backend as much as possible platform-independent. I know that default Django Postgresql driver is platform-dependent psycopg
. I saw this answer displaying DB-API compatibility. My questions to Django/pg8000 gurus are:
- How much crazy is my intention? Is it applicable/recommended to use platform-independent driver, or should I stuck to default
psycopg
driver? In java world using platform independentpure Java JDBC 4.0
drivers is common practice. - Did anybody succeeded integrating pg8000 into Django project? If yes, are there some links to repository?
- Does pg8000 driver has some functional, architectural or other limitations which makes impossible to use it with Django?