fix: torreta db point to folder
This commit is contained in:
parent
9dbc2042c7
commit
93a756be78
2 changed files with 3 additions and 2 deletions
|
@ -86,7 +86,7 @@ WSGI_APPLICATION = 'torretadeldrac.wsgi.application'
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': BASE_DIR / 'db.sqlite3',
|
||||
'NAME': os.getenv('DJANGO_DB_PATH', BASE_DIR / "db.sqlite3"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue