Fix database settings

This commit is contained in:
Klaus-Uwe Mitterer 2020-03-24 12:13:50 +01:00
parent f54d19a700
commit a22c19a8cc

View file

@ -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