用django时候映射完URL在打开http://localhost:8000/报这个错误,请问什么原因啊 新手求帮助啊

Unhandledexceptioninthreadstartedby<functionwrapperat0x7f3288a1be60>Traceback(mostrec... Unhandled exception in thread started by <function wrapper at 0x7f3288a1be60>
Traceback (most recent call last):
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 227, in wrapper
fn(*args, **kwargs)
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run
self.check(display_num_errors=True)
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config
return check_resolver(resolver)
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver
return check_method()
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/urls/resolvers.py", line 255, in check
warnings.extend(check_resolver(pattern))
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver
return check_method()
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/urls/resolvers.py", line 254, in check
for pattern in self.url_patterns:
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/chenjunbiao/learning_log/ll_env/local/lib/python2.7/site-packages/django/urls/resolvers.py", line 414, in url_patterns
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'learning_logs.urls' from '/home/chenjunbiao/learning_log/learning_logs/urls.py'>' 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.
展开
 我来答
x盗梦空间x
2018-10-09 · 超过76用户采纳过TA的回答
知道答主
回答量:150
采纳率:85%
帮助的人:55.8万
展开全部
看最后的提示:很有可能是循环引用,urls配置错误
检查一下看看是不是两个文件相互import
再看看urls里面的路径是否写的正确
圣贤嘉言录
2019-03-19
知道答主
回答量:17
采纳率:0%
帮助的人:1.6万
展开全部
我的也出现了错误,把urlpatterns错写成了urlpartterns
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
那我起一个
2018-09-25
知道答主
回答量:25
采纳率:0%
帮助的人:2.1万
展开全部
解决了吗,我也碰到这个问题( ▼-▼ )
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
生人勿近1988
2018-08-03 · TA获得超过5213个赞
知道小有建树答主
回答量:595
采纳率:100%
帮助的人:116万
展开全部
可能是css没配置对。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 3条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式