我是 django/python 新手,使用以下应用程序“投票”,我按照教程https://docs.djangoproject.com/en/1.5/intro/tutorial03/创建
在访问
http://127.0.0.1:8000/polls
可以在此处找到错误详细信息。
#../djcode/mysites/mysites/urls.py file code
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^polls/', include('polls.urls')),
url(r'^admin/', include(admin.site.urls)),
)
帮助将不胜感激:)