polyledger/connect

Use ENV variable pattern for database config

Closed this issue · 0 comments

Description

See the thread in Slack here.

Story

We want to use a DATABASE_URL environment variable to connect to the database service. Currently, Django is using the default database connection configuration object. It is easier to use a URL than an object.

We are using the dj-database-url package to enable the ENV variable pattern in Django's settings.