add the db config to the django settings

This commit is contained in:
Andreas Zweili 2017-11-03 17:39:47 +01:00
parent 61b8809258
commit c42a2cdc49
1 changed files with 6 additions and 2 deletions

View File

@ -75,8 +75,12 @@ WSGI_APPLICATION = 'webshop.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'ENGINE': 'django.db.backends.mysql',
'NAME': 'webshopdb',
'USER': 'webshop',
'PASSWORD': '2YKtY53F3HDDzPyExAaSh3jdVNh6VN',
'HOST': '127.0.0.1',
'PORT': '3306',
}
}