Commit 79c11a10 authored by chris's avatar chris

Use reverse instead of poll.link

parent 8f4897f2
......@@ -79,7 +79,7 @@ def editchoices(request, poll_id):
v.save()
poll.save()
return HttpResponseRedirect(reverse('meetingpoll', poll.id))
return HttpResponseRedirect(reverse('meetingpoll', args=(str(poll.id),)))
else:
messages.error(request,
_("There are some errors in the form you posted."))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment