forked from DGNum/gestioCOF
Specify the full path of the sqlite database
This commit is contained in:
parent
853fa57ce4
commit
5923166196
1 changed files with 4 additions and 1 deletions
|
@ -3,14 +3,17 @@ Django local settings for the cof project.
|
||||||
The settings that are not listed here are imported from .common
|
The settings that are not listed here are imported from .common
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
from .dev import * # NOQA
|
from .dev import * # NOQA
|
||||||
|
from .dev import BASE_DIR
|
||||||
|
|
||||||
|
|
||||||
# Use sqlite for local development
|
# Use sqlite for local development
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.sqlite3",
|
"ENGINE": "django.db.backends.sqlite3",
|
||||||
"NAME": "db.sqlite3",
|
"NAME": os.path.join(BASE_DIR, "db.sqlite3")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue