From f50319e68f4ef6bf80aa34802f41bc32bc2a23fd Mon Sep 17 00:00:00 2001 From: Josh Flatt Date: Sat, 22 Nov 2025 20:47:47 -0600 Subject: [PATCH] made url hyperlinks more dynamic --- polls/templates/polls/index.html | 2 +- polls/urls.py | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/polls/templates/polls/index.html b/polls/templates/polls/index.html index 79823ba..0d002dd 100644 --- a/polls/templates/polls/index.html +++ b/polls/templates/polls/index.html @@ -1,7 +1,7 @@ {% if latest_question_list %} {% else %} diff --git a/polls/urls.py b/polls/urls.py index 36c72e6..21dff7e 100644 --- a/polls/urls.py +++ b/polls/urls.py @@ -2,13 +2,10 @@ from django.urls import path from . import views +app_name = "polls" urlpatterns = [ - # ex: /polls/ path("", views.index, name="index"), - # ex: /polls/5/ path("/", views.detail, name="detail"), - # ex: /polls/5/results/ path("/results/", views.results, name="results"), - # ex: /polls/5/vote/ path("/vote/", views.vote, name="vote"), -] \ No newline at end of file +]