[Answer]-Django : NoReverseMatch error when reverse a url

1👍

Pass args to reverse() as

return HttpResponseRedirect(reverse('show_poll', args=[cat]))
#-----------------------------------------------^ closing bracket moved at the end
👤Rohan

Leave a comment