App mainsite could not be found. Is it in INSTALLED_APPS?

在django创建app中,修改models.py添加对应的数据库表
提示: App Mynewsite could not be found. Is it in INSTALLED_APPS?
这时候需要在settings.py中找到INSTALLED_APPS =,添加app名


屏幕快照 2018-10-30 上午9.15.44.png
屏幕快照 2018-10-30 上午9.15.37.png

你可能感兴趣的:(App mainsite could not be found. Is it in INSTALLED_APPS?)