NoReverseMatch at end of tutorial 4

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'),