From db04c7d7d8c2d6dcfae627d511abdc36ee09b4ce Mon Sep 17 00:00:00 2001 From: roger Date: Wed, 24 Aug 2022 22:08:34 +0800 Subject: [PATCH] add url for polls --- db.sqlite3 | 0 w3cschool_demo/urls.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 db.sqlite3 diff --git a/db.sqlite3 b/db.sqlite3 new file mode 100644 index 0000000..e69de29 diff --git a/w3cschool_demo/urls.py b/w3cschool_demo/urls.py index 75cfb96..9e20d8d 100644 --- a/w3cschool_demo/urls.py +++ b/w3cschool_demo/urls.py @@ -14,8 +14,9 @@ Including another URLconf 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin -from django.urls import path +from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), + path('polls/', include('polls.urls')), ]