找不到页面 (404)
请求方法:GET
请求 URL: http ://chinafhp.sinaapp.com/search/?q=ag
网址模式:
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'web.views.home', name='home'),
# url(r'^web/', include('web.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^serach/$',views.serach),
url(r'^admin/', include(admin.site.urls)),
url(r'^$',views.home),
url(r'^movie/([^/]+)/$',views.movieList),
url(r'^tv/([^/]+)/$',views.tvList),
)
为什么?