From e169ebc833f4d82c5af7cea83aef2ea8e8c66031 Mon Sep 17 00:00:00 2001 From: Qkbrauyvi <2370186969@qq.com> Date: Fri, 21 May 2021 22:42:59 +0800 Subject: [PATCH] urls.py --- SpiderWebsite/demo/urls.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 SpiderWebsite/demo/urls.py diff --git a/SpiderWebsite/demo/urls.py b/SpiderWebsite/demo/urls.py new file mode 100644 index 0000000..8a5bbb3 --- /dev/null +++ b/SpiderWebsite/demo/urls.py @@ -0,0 +1,14 @@ +from django.urls import path, include, re_path + +from demo import views + +urlpatterns = [ + path(r'', views.home), + # 传参数到后面的views + path(r'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), +]