Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting.py怎么配置自己的数据库呢? #14

Open
ghost opened this issue Apr 15, 2018 · 1 comment
Open

setting.py怎么配置自己的数据库呢? #14

ghost opened this issue Apr 15, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 15, 2018

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'django_blog',
'USER': 'root',
'PASSWORD': '5849312',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
是修改这部分吗?

@jhao104
Copy link
Owner

jhao104 commented Apr 16, 2018

对的 就是Django数据库的配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant