aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-06-22 16:31:05 +0100
committerMatthew Lemon <y@yulqen.org>2024-06-22 16:31:05 +0100
commit3e55a1d2843805de40714a3e920b97cf546966f1 (patch)
treea8fa0c5cbf3179ef89831e8ac008ad1316acc3aa /config/settings
parent0d66522b8dbb2f33325e0f2db1e607f39249a2f7 (diff)
Some tidying only
Includes the DATABASE_URL in the local settings. Linting changes.
Diffstat (limited to 'config/settings')
-rw-r--r--config/settings/local.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/settings/local.py b/config/settings/local.py
index afcdb3f..155b219 100644
--- a/config/settings/local.py
+++ b/config/settings/local.py
@@ -2,6 +2,8 @@
from .base import * # noqa: F403
from .base import env
+DATABASE_URL = env.read_env("DATABASE_URL", "postgres://postgres:postgres@localhost:5432/postgres")
+
# GENERAL
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#debug