Reformat settings

This commit is contained in:
Edgar P. Burkhart 2022-12-29 18:44:44 +01:00
parent 077c39adde
commit 7f6c00c0a2
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -87,13 +87,16 @@ WSGI_APPLICATION = "nummi.wsgi.application"
# Database # Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
DATABASES = CONFIG.get("databases", { DATABASES = CONFIG.get(
"default": { "databases",
"ENGINE": "django.db.backends.postgresql", {
"NAME": "nummi", "default": {
"USER": "nummi", "ENGINE": "django.db.backends.postgresql",
} "NAME": "nummi",
}) "USER": "nummi",
}
},
)
# Password validation # Password validation