This driver does under the hood use psycopg, so in theory a postresql:// connection string could be used with Env().db_url() (I have not tried!) it is preferable to use the Cockroach driver as this improves resiliency and retry logic.
I am all too happy to submit the PR for this myself.
I would like to propose a feature that django-eviron's
db()
parser shall support CockroachDBCockroachDB is a distributed quorum based database. Cockroach Labs have provided an idiomatic driver for Django.
This driver does under the hood use psycopg, so in theory a postresql:// connection string could be used with
Env().db_url()
(I have not tried!) it is preferable to use the Cockroach driver as this improves resiliency and retry logic.I am all too happy to submit the PR for this myself.