Add polls app with basic views and URL routing

This commit is contained in:
2025-12-10 21:03:51 -05:00
parent 620012392d
commit 384b2e7303
9 changed files with 34 additions and 2 deletions

View File

@@ -14,9 +14,11 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
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 include, path
urlpatterns = [
path('admin/', admin.site.urls),
path("admin/", admin.site.urls),
path("polls/", include("polls.urls")),
]