modified setings for starting db with docker volume

This commit is contained in:
Artyom Kravchenko
2021-03-22 17:08:17 +03:00
parent 271695f6f6
commit e96ee7ac5b
6 changed files with 42 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ WSGI_APPLICATION = 'access_controller.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'NAME': os.path.join(BASE_DIR / 'db'/ 'db.sqlite3'),
}
}