parent
c14fcce907
commit
e169ebc833
@ -0,0 +1,14 @@
|
||||
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),
|
||||
]
|
Loading…
Reference in new issue