Revert default db to sqlite3 (for now)

This commit is contained in:
Oliver 2018-05-10 19:19:13 +10:00
parent 07f16d8891
commit 57713556d1

View File

@ -106,13 +106,16 @@ WSGI_APPLICATION = 'InvenTree.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
},
'postgresql': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',
'NAME': 'inventree', 'NAME': 'inventree',
'USER': 'inventreeuser', 'USER': 'inventreeuser',
'PASSWORD': 'inventree', 'PASSWORD': 'inventree',
'HOST': 'localhost', 'HOST': 'localhost',
'PORT': '', 'PORT': '',
#'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
} }
} }