From 70edfe6d87516845307e762f2777ef15f9a14d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Fri, 10 Jul 2015 14:42:20 +0200 Subject: [PATCH] Fixed apply url for motion poll update view. Fixed #1489. --- openslides/motion/views.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openslides/motion/views.py b/openslides/motion/views.py index 5f5cad3e1..40ef5932d 100644 --- a/openslides/motion/views.py +++ b/openslides/motion/views.py @@ -615,6 +615,11 @@ class PollUpdateView(PollMixin, PollFormView): template_name = 'motion/motionpoll_form.html' + def get_apply_url(self): + return reverse( + 'motionpoll_update', + kwargs={'pk': self.kwargs['pk'], 'poll_number': self.kwargs['poll_number']}) + def get_context_data(self, **kwargs): """ Return the template context.