From 05d3ff455db5c45c23021192c36c86696983c6f5 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 31 Oct 2022 09:15:44 +0100 Subject: [PATCH] Add default to database url --- src/charasheet/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charasheet/settings.py b/src/charasheet/settings.py index 0cfe698..967c2f5 100644 --- a/src/charasheet/settings.py +++ b/src/charasheet/settings.py @@ -17,7 +17,7 @@ env = environ.Env( LOG_LEVEL=(str, "DEBUG"), LOG_FORMAT=(str, "default"), APP_DATA=(Path, PROJECT_ROOT / "data"), - DATABASE_URL=str, + DATABASE_URL=(str, "sqlite:////app/db/db.sqlite3"), ) env_file = os.getenv("ENV_FILE", None)