setting.py怎么配置自己的数据库呢?
opened this issue · comments
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'django_blog',
'USER': 'root',
'PASSWORD': '5849312',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
是修改这部分吗?
对的 就是Django数据库的配置