Commit 79c11a10 authored by Christophe Siraut's avatar Christophe Siraut

Use reverse instead of poll.link

parent 8f4897f2
...@@ -79,7 +79,7 @@ def editchoices(request, poll_id): ...@@ -79,7 +79,7 @@ def editchoices(request, poll_id):
v.save() v.save()
poll.save() poll.save()
return HttpResponseRedirect(reverse('meetingpoll', poll.id)) return HttpResponseRedirect(reverse('meetingpoll', args=(str(poll.id),)))
else: else:
messages.error(request, messages.error(request,
_("There are some errors in the form you posted.")) _("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