我无法在我的Django项目中迁移

问题描述 投票:0回答:1

我已将django项目与mysql数据库连接,并且已经配置了所有设置(settings.py),但是在迁移时,它会显示错误。

Source code

python mysql django migration migrate
1个回答
0
投票

在数据库描述中,您已将数据库定义为'localhost'而不是'localhost'。 Django不会在设置文件中为您解决空白。

© www.soinside.com 2019 - 2024. All rights reserved.