4👍
✅
The URL name in urls.py
is votes
and you are searching for poll:vote
, fix it:
<form action="{% url 'poll:votes' question.id %}" method="post">
HERE ^
Source:stackexchange.com