django-environ
django-environ copied to clipboard
Reading .pgpass for a Postgresql connection
Is there a way to read the .pgpass
file for the database connection? Setting just DJANGO_DATABASE_URL=postgres://host/database
without credentials would be very handy.
https://www.postgresql.org/docs/12/libpq-pgpass.html
Using dj-database-url
unfortunately doesn't solve it.