does not appear to have any patterns in it. If you see the 'urlpatterns' variable with valid patterns in the file then the issue is probably caused by a circular import.

django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'first_app.urls' from 'D:\\project\\first_project\\first_app\\urls.py'>' does not appear to have any patterns in it. If you see the 'urlpatterns' variable with valid patterns in the file then the issue is probably caused by a circular import.

 

 

urls中的

urlpatterns 写错了,少写了一个字母n.


posted @ 2023-06-25 16:42  追风儿  阅读(367)  评论(0)    收藏  举报