mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Modified database engine to sqlite3 which is the default.
This commit is contained in:
parent
baaf9577da
commit
e230f1524f
@ -81,7 +81,7 @@ WSGI_APPLICATION = 'YtManager.wsgi.application'
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': os.getenv('YTSM_DATABASE_ENGINE', 'django.db.backends.postgresql'),
|
'ENGINE': os.getenv('YTSM_DATABASE_ENGINE', 'django.db.backends.sqlite3'),
|
||||||
'NAME': os.getenv('YTSM_DATABASE_NAME', os.path.join(BASE_DIR, 'ytmanager.db')),
|
'NAME': os.getenv('YTSM_DATABASE_NAME', os.path.join(BASE_DIR, 'ytmanager.db')),
|
||||||
'HOST': os.getenv('YTSM_DATABASE_HOST', None),
|
'HOST': os.getenv('YTSM_DATABASE_HOST', None),
|
||||||
'USER': os.getenv('YTSM_DATABASE_USERNAME', None),
|
'USER': os.getenv('YTSM_DATABASE_USERNAME', None),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user