I think this is where your mistake lies:
path('<int:question_id/vote/', views.vote, name='vote'),
You missed the closing >
on the URL parameter. Add it like so:
path('<int:question_id>/vote/', views.vote, name='vote'),
I think this is where your mistake lies:
path('<int:question_id/vote/', views.vote, name='vote'),
You missed the closing >
on the URL parameter. Add it like so:
path('<int:question_id>/vote/', views.vote, name='vote'),