feat(settings): Make databases configurable
This commit is contained in:
parent
8a46e4ddb5
commit
7537b26fbe
1 changed files with 9 additions and 6 deletions
|
@ -98,12 +98,15 @@ ASGI_APPLICATION = "app.asgi.application"
|
|||
# Database configuration
|
||||
# -> https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
||||
|
||||
DATABASES = {
|
||||
DATABASES = credentials.get_json(
|
||||
"DATABASES",
|
||||
{
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.sqlite3",
|
||||
"NAME": BASE_DIR / "db.sqlite3",
|
||||
}
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue