Reformat settings
This commit is contained in:
parent
077c39adde
commit
7f6c00c0a2
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue