feat: update database path configuration and improve entrypoint script for SQLite handling

This commit is contained in:
gabdevele
2026-06-17 19:42:57 +02:00 Unverified
parent b8554830e4
commit 85a821ff0f
10 changed files with 20 additions and 9 deletions
@@ -66,7 +66,7 @@ DJAGGER_DOCUMENT = {
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': os.getenv('DJANGO_DB_PATH', os.path.join(BASE_DIR, 'db', 'db.sqlite3')),
}
}
@@ -191,7 +191,7 @@ DATABASES = {
# },
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': os.getenv('DJANGO_DB_PATH', os.path.join(BASE_DIR, 'db', 'db.sqlite3')),
}
}