본문 바로가기

코딩 에러

[ENAS만판다] - [Django] polls tutorial error - TypeError at /polls/4/vote/Value after * must be an iterable, not int

 

return HttpResponseRedirect(reverse('polls:results', args=(question.id)))

 

=>

 

return HttpResponseRedirect(reverse('polls:results', args=(question.id,)))