Created
December 17, 2017 14:11
-
-
Save solidpple/f6080bb0a06a5b575fcbb51d0cfcad72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.urls import path | |
from . import views | |
app_name = 'polls' | |
urlpatterns = [ | |
path('', views.index, name='index'), | |
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'), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment