urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^tango/', include('website.urls', namespace="website")),
urlpatterns = {
url(r'^$', views.index, name='index'),
url(r'^about/$', views.about, name='about'),
url(r'^restricted/$', views.restricted, name='restricted'),
小白刚学django,纠结了好久的问题。