📅  最后修改于: 2022-03-11 14:56:04.610000             🧑  作者: Mango
In settings.py change the NAME of your Database like this:
import os
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': str(os.path.join(BASE_DIR, "db.sqlite3")),
}
}