django配置数据库

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}

posted @ 2020-03-04 10:46  ret  阅读(119)  评论(0编辑  收藏  举报