|
|
|
@ -80,13 +80,13 @@ WSGI_APPLICATION = 'djing.wsgi.application' |
|
|
|
|
|
|
|
DATABASES = { |
|
|
|
'default': { |
|
|
|
# 'ENGINE': 'django.db.backends.sqlite3', |
|
|
|
#'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), |
|
|
|
'ENGINE': 'django.db.backends.mysql', |
|
|
|
'NAME': 'djingdb', |
|
|
|
'USER': 'USER', # You can change the user name |
|
|
|
'PASSWORD': 'PASSWORD', # You can change the password |
|
|
|
'HOST': 'localhost' |
|
|
|
'ENGINE': 'django.db.backends.sqlite3', |
|
|
|
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), |
|
|
|
#'ENGINE': 'django.db.backends.mysql', |
|
|
|
#'NAME': 'djingdb', |
|
|
|
#'USER': 'USER', # You can change the user name |
|
|
|
#'PASSWORD': 'PASSWORD', # You can change the password |
|
|
|
#'HOST': 'localhost' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|