From a22c19a8cc02cb0d8b1d781e1f5991fa5c9a2254 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Tue, 24 Mar 2020 12:13:50 +0100 Subject: [PATCH] Fix database settings --- expephalon/settings.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/expephalon/settings.py b/expephalon/settings.py index fced9bb..6359ea3 100644 --- a/expephalon/settings.py +++ b/expephalon/settings.py @@ -64,12 +64,15 @@ WSGI_APPLICATION = 'expephalon.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'ENGINE': 'django.db.backends.mysql', + 'NAME': DB_NAME, + 'USER': DB_USER, + 'PASSWORD': DB_PASS, + 'HOST': DB_HOST, + 'PORT': str(DB_PORT), } } - # Password validation # https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators