电信日,中国联通宽带查询会有啥优惠么

django的url配置求教~为什么无法include
我有一个project 跟目录的root url conf 设置内容为:----------------------------------------------------------from django.conf.urls import patterns, include, url
import funnytest
urlpatterns = patterns(
url(r'^funnytest/', include('funnytest.urls')),
url(r'^helloworld/', funnytest.views.hello),
)-----------------------------------------------------------其中funnytest是其中一个app,funnytest 目录下设置了一个Urls, 内容为:
------------------from django.conf.urls import patterns, include, url
from views import *
urlpatterns = patterns(
url(r'^hello/$', hello),
)-------------------我访问 localhost/funnytest/hello/ 会报错,表示urls 中没有匹配的配置
但是访问localhost/helloworld 是可以访问到view hello 的为什么呢,应该如何配置~
2012年 12月1日
(809 威望)
请输入验证码:
[captcha placeholder]
或 后不会被要求输入验证码。
请输入验证码:
&&&& 或 后不会被要求输入验证码。
2012年 12月1日
(1,005 威望)
2012年 12月1日
请输入验证码:
[captcha placeholder]
或 后不会被要求输入验证码。
提一个问题:
(759 威望)
2016年 7月11日
(1,463 威望)
2016年 3月28日
(1,005 威望)
(997 威望)
2015年 10月18日
(821 威望)
欢迎访问随意问技术百科,为了给您提供更好的服务,请及时反馈您的意见。2012年9月 Windows专区大版内专家分月排行榜第一2012年9月 C/C++大版内专家分月排行榜第一2012年8月 Windows专区大版内专家分月排行榜第一
2012年9月 其他开发语言大版内专家分月排行榜第二2012年8月 VC/MFC大版内专家分月排行榜第二2012年8月 其他开发语言大版内专家分月排行榜第二
本帖子已过去太久远了,不再提供回复功能。

我要回帖

更多关于 中国联通宽带套餐 的文章

 

随机推荐