導(dǎo)入app.views出錯(cuò)
impor myapp.views和from myapp import views都報(bào)錯(cuò)
發(fā)現(xiàn)在setting的INSTALLED_APPS數(shù)組里沒(méi)有myapp應(yīng)用
impor myapp.views和from myapp import views都報(bào)錯(cuò)
發(fā)現(xiàn)在setting的INSTALLED_APPS數(shù)組里沒(méi)有myapp應(yīng)用
2020-06-22
舉報(bào)
2020-06-23
把import myapp.views改為import myproject.myapp.viwes