aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2024-07-18 22:29:01 +0200
committerGravatar GitHub <[email protected]>2024-07-18 22:29:01 +0200
commit10f3f6a591c2eb7b3e744be80edcd55f8ef469b8 (patch)
treee859e884a287952210f2abd24562c956dd6375ec /pydis_site/settings.py
parentTimeline: Fix word breaking on hyphenation in 8th Code Jam (diff)
parentMerge pull request #1365 from python-discord/more-frameworks (diff)
Merge branch 'main' into feat/timeline-from-yaml
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 86804f33..dcb37b54 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -189,8 +189,8 @@ WSGI_APPLICATION = 'pydis_site.wsgi.application'
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
DATABASES = {
- 'default': env.db(),
- 'metricity': env.db('METRICITY_DB_URL'),
+ 'default': env.db(engine="django_prometheus.db.backends.postgresql"),
+ 'metricity': env.db('METRICITY_DB_URL', engine="django_prometheus.db.backends.postgresql"),
} if not STATIC_BUILD else {}
# Password validation
@@ -329,6 +329,7 @@ BULMA_SETTINGS = {
"primary-light": "#2B3660",
"success-dark": "#EFFAF5", # Bulma's success-light
"success-light": "#214133",
+ "success": "#31815D",
"danger-dark": "#FEECF0", # Bulma's danger-light
"danger-light": "#4C1822",
"info-dark": "#EFF5FB", # Bulma's info-light