from django.urls import path

from . import views

urlpatterns = [
    # ex: /polls/5/
    path('<int:question_id>/', views.detail, name='detail'),
    # ex: /polls/5/results/
    path('<int:question_id>/results/', views.results, name='results'),
    # ex: /polls/5/vote/
    path('<int:question_id>/vote/', views.vote, name='vote'),
    # ex: /polls/index/
    path('index/', views.index),

    path('question/', views.QuestionList.as_view(), name='list'),
    
    path('question/<int:question_id>/', views.QuestionDetail.as_view(), name='details'),
]
c48ef271cd3e38faff1a0bdd32feba0615c86176
<mask token>

<mask token>
urlpatterns = [path('<int:question_id>/', views.detail, name='detail'),
    path('<int:question_id>/results/', views.results, name='results'), path
    ('<int:question_id>/vote/', views.vote, name='vote'), path('index/',
    views.index), path('question/', views.QuestionList.as_view(), name=
    'list'), path('question/<int:question_id>/', views.QuestionDetail.
    as_view(), name='details')]

from django.urls import path
from . import views
urlpatterns = [path('<int:question_id>/', views.detail, name='detail'),
    path('<int:question_id>/results/', views.results, name='results'), path
    ('<int:question_id>/vote/', views.vote, name='vote'), path('index/',
    views.index), path('question/', views.QuestionList.as_view(), name=
    'list'), path('question/<int:question_id>/', views.QuestionDetail.
    as_view(), name='details')]

from django.urls import path

from . import views

urlpatterns = [
    # ex: /polls/5/
    path('<int:question_id>/', views.detail, name='detail'),
    # ex: /polls/5/results/
    path('<int:question_id>/results/', views.results, name='results'),
    # ex: /polls/5/vote/
    path('<int:question_id>/vote/', views.vote, name='vote'),
    # ex: /polls/index/
    path('index/', views.index),

    path('question/', views.QuestionList.as_view(), name='list'),
    
    path('question/<int:question_id>/', views.QuestionDetail.as_view(), name='details'),
]