#coding=utf-8 from django.conf.urls import url import views urlpatterns=[ url(r'^$',views.queryAll), url(r'^page/(\d+)$',views.queryAll), url(r'^post/(\d+)$',views.detail), ]