add the db config to the django settings
This commit is contained in:
parent
61b8809258
commit
c42a2cdc49
|
@ -75,8 +75,12 @@ WSGI_APPLICATION = 'webshop.wsgi.application'
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.mysql',
|
||||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
'NAME': 'webshopdb',
|
||||||
|
'USER': 'webshop',
|
||||||
|
'PASSWORD': '2YKtY53F3HDDzPyExAaSh3jdVNh6VN',
|
||||||
|
'HOST': '127.0.0.1',
|
||||||
|
'PORT': '3306',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue