lospejos
lospejos

Reputation: 1986

Django pg8000 integration

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:

  1. 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 independent pure Java JDBC 4.0 drivers is common practice.
  2. Did anybody succeeded integrating pg8000 into Django project? If yes, are there some links to repository?
  3. Does pg8000 driver has some functional, architectural or other limitations which makes impossible to use it with Django?

Upvotes: 3

Views: 1186

Answers (1)

Tony Locke
Tony Locke

Reputation: 454

A Django backend for pg8000 is available at:

https://pypi.org/project/django-pg8000/

Upvotes: 0

Related Questions