You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
414 B

4 years ago
from django.urls import path, include, re_path
from demo import views
urlpatterns = [
path(r'', views.home),
# <int:page>传参数到后面的views
path(r'page<int:page>', views.page_views),
path(r'home', views.home),
path(r'table_one', views.table_one),
path(r'pie_one', views.pie_views),
path(r'word_cloud', views.word_cloud),
# re_path(r'^$', views.table_one),
]