You are not logged in.

Change Language:

Freelancer? Consultant? Check out: WorkTrail - Time Tracking made easy
Board » Django » Models » python mysite/manage.py inspectdb > mysite/myapp/models.py 系统找不到指定的路径

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mysql',
'USER': 'root',
'PASSWORD': '20100304',
'HOST': 'localhost',
'PORT': '',
}
}
hello my friend
first of all, it's strongly recommended to use sqlite3 not mysql
then you should use an extension .db at the end of the file name
if you are using sqlite, you should use the whole and exact path for the name parameter and blank for host and other parameters





Powered by Sphene Community Tools