django.core.exceptions.ImproperlyConfigured: The included URLconf 'testDjango.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
工程架構:

setting.py中配置

主程式testDjango/testDjango/urls.py中路由配置:

應用testDjango/App/urls.py中路由配置:

views.py內容:

執行程式報錯:
django.core.exceptions.ImproperlyConfigured: The included URLconf 'testDjango.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/256910.html
標籤:其他開發語言
下一篇:labelme安裝打開問題求解!
