关于LookupError: No installed app with label ‘admin‘.报错的解决
2024-11-25 09:11:47 阅读次数:10
LookupError: No installed app with label ‘admin’.
报错原因:在INSTALLED_APPS中没有找到admin应用

我的项目目录

解决:需要将apps加入到导包路径中

之后python manage.py runserver 成功了。
版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.csdn.net/YZL40514131/article/details/122205936,作者:敲代码敲到头发茂密,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。
上一篇:利用RouterOS构建三层网络详解
下一篇:git之工作区、版本区、远程仓库之间相互操作